Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 5035839f674c88dea1f7928a86fbdc64 > files > 759

geos-devel-3.2.1-3.fc14.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>GEOS: geos::geom::MultiPoint Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath">
    <ul>
      <li><a class="el" href="namespacegeos.html">geos</a>      </li>
      <li><a class="el" href="namespacegeos_1_1geom.html">geom</a>      </li>
      <li><a class="el" href="classgeos_1_1geom_1_1MultiPoint.html">geos::geom::MultiPoint</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<h1>geos::geom::MultiPoint Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="geos::geom::MultiPoint" --><!-- doxytag: inherits="geos::geom::GeometryCollection" -->
<p>Models a collection of <a class="el" href="classgeos_1_1geom_1_1Point.html" title="Basic implementation of Point.">Point</a> objects.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="geom_8h_source.html">geos.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for geos::geom::MultiPoint:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classgeos_1_1geom_1_1MultiPoint.png" usemap="#geos::geom::MultiPoint_map" alt=""/>
  <map id="geos::geom::MultiPoint_map" name="geos::geom::MultiPoint_map">
<area href="classgeos_1_1geom_1_1GeometryCollection.html" alt="geos::geom::GeometryCollection" shape="rect" coords="0,56,191,80"/>
<area href="classgeos_1_1geom_1_1Geometry.html" alt="geos::geom::Geometry" shape="rect" coords="0,0,191,24"/>
</map>
</div>

<p><a href="classgeos_1_1geom_1_1MultiPoint-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa84f3191d3c307db3703775c7d1389b4"></a><!-- doxytag: member="geos::geom::MultiPoint::getDimension" ref="aa84f3191d3c307db3703775c7d1389b4" args="() const " -->
<a class="el" href="classgeos_1_1geom_1_1Dimension.html#af46f1c0c325eb685fcf32987748d04cf">Dimension::DimensionType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1MultiPoint.html#aa84f3191d3c307db3703775c7d1389b4">getDimension</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns point dimension (0). <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aacb6a0dbaf725c1f8b38eb68551f7de4"></a><!-- doxytag: member="geos::geom::MultiPoint::getBoundaryDimension" ref="aacb6a0dbaf725c1f8b38eb68551f7de4" args="() const " -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1MultiPoint.html#aacb6a0dbaf725c1f8b38eb68551f7de4">getBoundaryDimension</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns <a class="el" href="classgeos_1_1geom_1_1Dimension.html#af46f1c0c325eb685fcf32987748d04cfa5055f3028cec299275cd330122f086e2" title="Dimension value of the empty geometry (-1).">Dimension::False</a> (<a class="el" href="classgeos_1_1geom_1_1Point.html" title="Basic implementation of Point.">Point</a> has no boundary). <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1MultiPoint.html#a5f20a9f3f89a87b58e3d0ccbccb49307">getBoundary</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the boundary of this geometry.  <a href="#a5f20a9f3f89a87b58e3d0ccbccb49307"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aba1049feef9a875cd427c45d1e5f35a7"></a><!-- doxytag: member="geos::geom::MultiPoint::getGeometryType" ref="aba1049feef9a875cd427c45d1e5f35a7" args="() const " -->
std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1MultiPoint.html#aba1049feef9a875cd427c45d1e5f35a7">getGeometryType</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return a string representation of this <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> type. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2078d1309feafdb145720f9e2f3760f8"></a><!-- doxytag: member="geos::geom::MultiPoint::getGeometryTypeId" ref="a2078d1309feafdb145720f9e2f3760f8" args="() const " -->
virtual <a class="el" href="namespacegeos_1_1geom.html#a98c5b0e81001a7c3fdc7a058960356d8">GeometryTypeId</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1MultiPoint.html#a2078d1309feafdb145720f9e2f3760f8">getGeometryTypeId</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return an integer representation of this <a class="el" href="classgeos_1_1geom_1_1Geometry.html" title="Basic implementation of Geometry, constructed and destructed by GeometryFactory.">Geometry</a> type. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a09f67659a8752de795080a1a27be71de"></a><!-- doxytag: member="geos::geom::MultiPoint::equalsExact" ref="a09f67659a8752de795080a1a27be71de" args="(const Geometry *other, double tolerance=0) const " -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1MultiPoint.html#a09f67659a8752de795080a1a27be71de">equalsExact</a> (const <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *other, double tolerance=0) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if the two Geometrys are exactly equal, up to a specified tolerance. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1MultiPoint.html#a04a9e37d7cd6e5de2a6f42d9f04e2467">clone</a> () const </td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgeos_1_1geom_1_1MultiPoint.html#a38633c27829bfd8fcb48bb35324bc798">MultiPoint</a> (std::vector&lt; <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * &gt; *newPoints, const <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html">GeometryFactory</a> *newFactory)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a <code><a class="el" href="classgeos_1_1geom_1_1MultiPoint.html" title="Models a collection of Point objects.">MultiPoint</a></code>.  <a href="#a38633c27829bfd8fcb48bb35324bc798"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab2729775ffe966c955f5bb98ecfe0633"></a><!-- doxytag: member="geos::geom::MultiPoint::MultiPoint" ref="ab2729775ffe966c955f5bb98ecfe0633" args="(const MultiPoint &amp;mp)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>MultiPoint</b> (const <a class="el" href="classgeos_1_1geom_1_1MultiPoint.html">MultiPoint</a> &amp;mp)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a912f9124c33f267ba6c3e0677789251e"></a><!-- doxytag: member="geos::geom::MultiPoint::getCoordinateN" ref="a912f9124c33f267ba6c3e0677789251e" args="(int n) const " -->
const <a class="el" href="classgeos_1_1geom_1_1Coordinate.html">Coordinate</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>getCoordinateN</b> (int n) const </td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a639aef3f5d0d27a72053343b0e09b5f3"></a><!-- doxytag: member="geos::geom::MultiPoint::GeometryFactory" ref="a639aef3f5d0d27a72053343b0e09b5f3" args="" -->
class&nbsp;</td><td class="memItemRight" valign="bottom"><b>GeometryFactory</b></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Models a collection of <a class="el" href="classgeos_1_1geom_1_1Point.html" title="Basic implementation of Point.">Point</a> objects. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a38633c27829bfd8fcb48bb35324bc798"></a><!-- doxytag: member="geos::geom::MultiPoint::MultiPoint" ref="a38633c27829bfd8fcb48bb35324bc798" args="(std::vector&lt; Geometry * &gt; *newPoints, const GeometryFactory *newFactory)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">geos::geom::MultiPoint::MultiPoint </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a> * &gt; *&nbsp;</td>
          <td class="paramname"> <em>newPoints</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html">GeometryFactory</a> *&nbsp;</td>
          <td class="paramname"> <em>newFactory</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructs a <code><a class="el" href="classgeos_1_1geom_1_1MultiPoint.html" title="Models a collection of Point objects.">MultiPoint</a></code>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newPoints</em>&nbsp;</td><td>the <code><a class="el" href="classgeos_1_1geom_1_1Point.html" title="Basic implementation of Point.">Point</a></code>s for this <code><a class="el" href="classgeos_1_1geom_1_1MultiPoint.html" title="Models a collection of Point objects.">MultiPoint</a></code>, or <code>null</code> or an empty array to create the empty geometry. Elements may be empty <code><a class="el" href="classgeos_1_1geom_1_1Point.html" title="Basic implementation of Point.">Point</a></code>s, but not <code>null</code>s.</td></tr>
  </table>
  </dd>
</dl>
<p>Constructed object will take ownership of the vector and its elements.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newFactory</em>&nbsp;</td><td>The <a class="el" href="classgeos_1_1geom_1_1GeometryFactory.html" title="Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...">GeometryFactory</a> used to create this geometry Caller must keep the factory alive for the life-time of the constructed <a class="el" href="classgeos_1_1geom_1_1MultiPoint.html" title="Models a collection of Point objects.">MultiPoint</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a04a9e37d7cd6e5de2a6f42d9f04e2467"></a><!-- doxytag: member="geos::geom::MultiPoint::clone" ref="a04a9e37d7cd6e5de2a6f42d9f04e2467" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>* geos::geom::MultiPoint::clone </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Creates and returns a full copy of this <a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html" title="Represents a collection of heterogeneous Geometry objects.">GeometryCollection</a> object. (including all coordinates contained by it).</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>a clone of this instance </dd></dl>

<p>Reimplemented from <a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html#a3b30808a1d17d793bdfb8db9cbacc755">geos::geom::GeometryCollection</a>.</p>

</div>
</div>
<a class="anchor" id="a5f20a9f3f89a87b58e3d0ccbccb49307"></a><!-- doxytag: member="geos::geom::MultiPoint::getBoundary" ref="a5f20a9f3f89a87b58e3d0ccbccb49307" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgeos_1_1geom_1_1Geometry.html">Geometry</a>* geos::geom::MultiPoint::getBoundary </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the boundary of this geometry. </p>
<p>Zero-dimensional geometries have no boundary by definition, so an empty <a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html" title="Represents a collection of heterogeneous Geometry objects.">GeometryCollection</a> is returned.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>an empty <a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html" title="Represents a collection of heterogeneous Geometry objects.">GeometryCollection</a> </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classgeos_1_1geom_1_1Geometry.html#a7519090aea0e06ee78fadcb1fc4bd2dd" title="Returns the boundary, or an empty geometry of appropriate dimension if this Geometry is empty...">Geometry::getBoundary</a> </dd></dl>

<p>Reimplemented from <a class="el" href="classgeos_1_1geom_1_1GeometryCollection.html#a12466db79f69e3c7a45d34e758a366e9">geos::geom::GeometryCollection</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="MultiPoint_8h_source.html">MultiPoint.h</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Thu Jul 22 2010 for GEOS by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>