Sophie

Sophie

distrib > Fedora > 13 > i386 > by-pkgid > 7fd7c575020aa78a8e2e309ea8909f43 > files > 739

gdal-1.6.2-6.fc13.i686.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>OGR: OGRGeometryCollection 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.6.2-20100208 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <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>
<div class="contents">
<h1>OGRGeometryCollection Class Reference</h1><!-- doxytag: class="OGRGeometryCollection" --><!-- doxytag: inherits="OGRGeometry" -->
<p><code>#include &lt;<a class="el" href="ogr__geometry_8h_source.html">ogr_geometry.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for OGRGeometryCollection:</div>
<div class="dynsection">
 <div class="center">
  <img src="classOGRGeometryCollection.png" usemap="#OGRGeometryCollection_map" alt=""/>
  <map id="OGRGeometryCollection_map" name="OGRGeometryCollection_map">
<area href="classOGRGeometry.html" alt="OGRGeometry" shape="rect" coords="159,0,308,24"/>
<area href="classOGRMultiLineString.html" alt="OGRMultiLineString" shape="rect" coords="0,112,149,136"/>
<area href="classOGRMultiPoint.html" alt="OGRMultiPoint" shape="rect" coords="159,112,308,136"/>
<area href="classOGRMultiPolygon.html" alt="OGRMultiPolygon" shape="rect" coords="318,112,467,136"/>
</map>
 </div>
</div>

<p><a href="classOGRGeometryCollection-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#aeccf1afd663ddde2e170e5da96af9774">OGRGeometryCollection</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#ad8a37b8aaa8506c59a0f6e361e33cfea">getGeometryName</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ogr__core_8h.html#a800236a0d460ef66e687b7b65610f12a">OGRwkbGeometryType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#ac0ce5876364a826479eb2a10815fea60">getGeometryType</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classOGRGeometry.html">OGRGeometry</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#ae007573cfec375b0fbb246a758b20b4c">clone</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#a9aead953ce5cc3076d9d4e4a85c6f68d">empty</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#a39e5d3d2fbfbfccd7cdf5275f0373816">transform</a> (<a class="el" href="classOGRCoordinateTransformation.html">OGRCoordinateTransformation</a> *poCT)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#a954d008774d80ad0637bc25088746eea">flattenTo2D</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual OGRBoolean&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#ae7f7a6da1812c2d8aaf71966468d6c37">IsEmpty</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#a9dd126d6cbe87f34eef6de9b9748874b">segmentize</a> (double dfMaxLength)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#abbd3a441c99163025c72cb6b8642d44d">WkbSize</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#a1f06b21c6ec0a0500eb7e3a815283ccf">importFromWkb</a> (unsigned char *, int=-1)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#a63414d1e0ab0c16227494b88937e951a">exportToWkb</a> (OGRwkbByteOrder, unsigned char *) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#a72381b58185cf0851db54067e3f3f2df">importFromWkt</a> (char **)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#a6612b05d85871c92b24015457883de1c">exportToWkt</a> (char **ppszDstText) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#af39e7629c39cd27ce00a1ff750bda088">get_Area</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#a611f61007e92d5e5807748b48450880c">getDimension</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#a4319e7dea4967dfc1e5a7d4bcdb8e5ff">getEnvelope</a> (<a class="el" href="classOGREnvelope.html">OGREnvelope</a> *psEnvelope) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#a878ea43754b6c6dc824d3a0d1b3dd0e3">getNumGeometries</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOGRGeometry.html">OGRGeometry</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#ad609f2c7886918a766dd3d3a4fa52ec3">getGeometryRef</a> (int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual OGRBoolean&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#ae25defac0e02404820e7a8b6dc712f44">Equals</a> (<a class="el" href="classOGRGeometry.html">OGRGeometry</a> *) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#a815199fda3d141eb52e7237dafade6fe">setCoordinateDimension</a> (int nDimension)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#a3da519655d14346e591d22a547562b0c">addGeometry</a> (const <a class="el" href="classOGRGeometry.html">OGRGeometry</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#a8422907a01d088ec5ef916382bea8eb3">addGeometryDirectly</a> (<a class="el" href="classOGRGeometry.html">OGRGeometry</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#ae37405203118eeb0430ef38668a385b7">removeGeometry</a> (int iIndex, int bDelete=TRUE)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRGeometryCollection.html#a73648d3d592a8a804d160bf0c69648cc">closeRings</a> ()</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A collection of 1 or more geometry objects.</p>
<p>All geometries must share a common spatial reference system, and Subclasses may impose additional restrictions on the contents. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aeccf1afd663ddde2e170e5da96af9774"></a><!-- doxytag: member="OGRGeometryCollection::OGRGeometryCollection" ref="aeccf1afd663ddde2e170e5da96af9774" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRGeometryCollection::OGRGeometryCollection </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create an empty geometry collection. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a3da519655d14346e591d22a547562b0c"></a><!-- doxytag: member="OGRGeometryCollection::addGeometry" ref="a3da519655d14346e591d22a547562b0c" args="(const OGRGeometry *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGRGeometryCollection::addGeometry </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classOGRGeometry.html">OGRGeometry</a> *&nbsp;</td>
          <td class="paramname"> <em>poNewGeom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Add a geometry to the container.</p>
<p>Some subclasses of <a class="el" href="classOGRGeometryCollection.html">OGRGeometryCollection</a> restrict the types of geometry that can be added, and may return an error. The passed geometry is cloned to make an internal copy.</p>
<p>There is no SFCOM analog to this method.</p>
<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a4a15e130614cb4c66fc99bb93dc6b3b5">OGR_G_AddGeometry()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>poNewGeom</em>&nbsp;</td><td>geometry to add to the container.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRERR_NONE if successful, or OGRERR_UNSUPPORTED_GEOMETRY_TYPE if the geometry type is illegal for the type of geometry container. </dd></dl>

<p>References <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00268">addGeometryDirectly()</a>, and <a class="el" href="classOGRGeometry.html#af4cf9f6eee1997268a481b39401c3161">OGRGeometry::clone()</a>.</p>

<p>Referenced by <a class="el" href="ogrmultipolygon_8cpp_source.html#l00084">OGRMultiPolygon::clone()</a>, <a class="el" href="ogrmultipoint_8cpp_source.html#l00089">OGRMultiPoint::clone()</a>, <a class="el" href="ogrmultilinestring_8cpp_source.html#l00092">OGRMultiLineString::clone()</a>, and <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00086">clone()</a>.</p>

</div>
</div>
<a class="anchor" id="a8422907a01d088ec5ef916382bea8eb3"></a><!-- doxytag: member="OGRGeometryCollection::addGeometryDirectly" ref="a8422907a01d088ec5ef916382bea8eb3" args="(OGRGeometry *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGRGeometryCollection::addGeometryDirectly </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOGRGeometry.html">OGRGeometry</a> *&nbsp;</td>
          <td class="paramname"> <em>poNewGeom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Add a geometry directly to the container.</p>
<p>Some subclasses of <a class="el" href="classOGRGeometryCollection.html">OGRGeometryCollection</a> restrict the types of geometry that can be added, and may return an error. Ownership of the passed geometry is taken by the container rather than cloning as <a class="el" href="classOGRGeometryCollection.html#a3da519655d14346e591d22a547562b0c">addGeometry()</a> does.</p>
<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#aff56cae8305396a9c5b690d8356e39c9">OGR_G_AddGeometryDirectly()</a>.</p>
<p>There is no SFCOM analog to this method.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>poNewGeom</em>&nbsp;</td><td>geometry to add to the container.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRERR_NONE if successful, or OGRERR_UNSUPPORTED_GEOMETRY_TYPE if the geometry type is illegal for the type of geometry container. </dd></dl>

<p>Reimplemented in <a class="el" href="classOGRMultiPolygon.html#a246ff65cee942960a98f64539ebbf7ad">OGRMultiPolygon</a>, <a class="el" href="classOGRMultiPoint.html#a976d4fb497d3b45bb210ab4bde7ecb67">OGRMultiPoint</a>, and <a class="el" href="classOGRMultiLineString.html#ac030cf7183a73d625320b4ab6e7a7fb9">OGRMultiLineString</a>.</p>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l00628">OGRGeometry::getCoordinateDimension()</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00229">addGeometry()</a>, <a class="el" href="ogrgeometryfactory_8cpp_source.html#l01415">OGRGeometryFactory::createFromFgf()</a>, and <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00512">importFromWkt()</a>.</p>

</div>
</div>
<a class="anchor" id="ae007573cfec375b0fbb246a758b20b4c"></a><!-- doxytag: member="OGRGeometryCollection::clone" ref="ae007573cfec375b0fbb246a758b20b4c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classOGRGeometry.html">OGRGeometry</a> * OGRGeometryCollection::clone </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Make a copy of this object.</p>
<p>This method relates to the SFCOM IGeometry::clone() method.</p>
<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a1725918932da7d59f9ee72829ac171fa">OGR_G_Clone()</a>.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>a new object instance with the same geometry, and spatial reference system as the original. </dd></dl>

<p>Implements <a class="el" href="classOGRGeometry.html#af4cf9f6eee1997268a481b39401c3161">OGRGeometry</a>.</p>

<p>Reimplemented in <a class="el" href="classOGRMultiPolygon.html#a4ef6848b2988b29c9387897debc85cc0">OGRMultiPolygon</a>, <a class="el" href="classOGRMultiPoint.html#a62e4056dc08502ac1161d8e44c434d80">OGRMultiPoint</a>, and <a class="el" href="classOGRMultiLineString.html#a00cb2d7be778ad436530834bdc3cda38">OGRMultiLineString</a>.</p>

<p>References <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00229">addGeometry()</a>, <a class="el" href="ogrgeometry_8cpp_source.html#l00228">OGRGeometry::assignSpatialReference()</a>, and <a class="el" href="ogr__geometry_8h_source.html#l00116">OGRGeometry::getSpatialReference()</a>.</p>

</div>
</div>
<a class="anchor" id="a73648d3d592a8a804d160bf0c69648cc"></a><!-- doxytag: member="OGRGeometryCollection::closeRings" ref="a73648d3d592a8a804d160bf0c69648cc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGRGeometryCollection::closeRings </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Force rings to be closed.</p>
<p>If this geometry, or any contained geometries has polygon rings that are not closed, they will be closed by adding the starting point at the end. </p>

<p>Reimplemented from <a class="el" href="classOGRGeometry.html#aeb6cf249316b3046e0d4f77ec400e844">OGRGeometry</a>.</p>

<p>References <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00106">getGeometryType()</a>, and <a class="el" href="ogr__core_8h_source.html#l00150">wkbPolygon</a>.</p>

</div>
</div>
<a class="anchor" id="a9aead953ce5cc3076d9d4e4a85c6f68d"></a><!-- doxytag: member="OGRGeometryCollection::empty" ref="a9aead953ce5cc3076d9d4e4a85c6f68d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGRGeometryCollection::empty </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Clear geometry information. This restores the geometry to it's initial state after construction, and before assignment of actual geometry.</p>
<p>This method relates to the SFCOM IGeometry::Empty() method.</p>
<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a90cc83b0a3052b8fbe2ed77a86323bf2">OGR_G_Empty()</a>. </p>

<p>Implements <a class="el" href="classOGRGeometry.html#a1702b5b8142abe761061a6cd44e50b05">OGRGeometry</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00361">importFromWkb()</a>, <a class="el" href="ogrmultipolygon_8cpp_source.html#l00107">OGRMultiPolygon::importFromWkt()</a>, <a class="el" href="ogrmultipoint_8cpp_source.html#l00172">OGRMultiPoint::importFromWkt()</a>, <a class="el" href="ogrmultilinestring_8cpp_source.html#l00115">OGRMultiLineString::importFromWkt()</a>, and <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00512">importFromWkt()</a>.</p>

</div>
</div>
<a class="anchor" id="ae25defac0e02404820e7a8b6dc712f44"></a><!-- doxytag: member="OGRGeometryCollection::Equals" ref="ae25defac0e02404820e7a8b6dc712f44" args="(OGRGeometry *) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRBoolean OGRGeometryCollection::Equals </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOGRGeometry.html">OGRGeometry</a> *&nbsp;</td>
          <td class="paramname"> <em>poOtherGeom</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns two if two geometries are equivalent.</p>
<p>This method is the same as the C function OGR_G_Equal().</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>TRUE if equivalent or FALSE otherwise. </dd></dl>

<p>Implements <a class="el" href="classOGRGeometry.html#ae751513a46c7e7b154796bfe494faf16">OGRGeometry</a>.</p>

<p>References <a class="el" href="classOGRGeometry.html#ae751513a46c7e7b154796bfe494faf16">OGRGeometry::Equals()</a>, <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00186">getGeometryRef()</a>, <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00106">getGeometryType()</a>, <a class="el" href="classOGRGeometry.html#a5c6bca18682cb933e3227552d480e1a5">OGRGeometry::getGeometryType()</a>, and <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00161">getNumGeometries()</a>.</p>

</div>
</div>
<a class="anchor" id="a63414d1e0ab0c16227494b88937e951a"></a><!-- doxytag: member="OGRGeometryCollection::exportToWkb" ref="a63414d1e0ab0c16227494b88937e951a" args="(OGRwkbByteOrder, unsigned char *) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGRGeometryCollection::exportToWkb </td>
          <td>(</td>
          <td class="paramtype">OGRwkbByteOrder&nbsp;</td>
          <td class="paramname"> <em>eByteOrder</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>pabyData</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Convert a geometry into well known binary format.</p>
<p>This method relates to the SFCOM IWks::ExportToWKB() method.</p>
<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#ad5c94ae76c09774dba8725c24daeefd6">OGR_G_ExportToWkb()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>eByteOrder</em>&nbsp;</td><td>One of wkbXDR or wkbNDR indicating MSB or LSB byte order respectively. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pabyData</em>&nbsp;</td><td>a buffer into which the binary representation is written. This buffer must be at least <a class="el" href="classOGRGeometry.html#acd1a8164dae2e44e50990756ed6b8b4a">OGRGeometry::WkbSize()</a> byte in size.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Currently OGRERR_NONE is always returned. </dd></dl>

<p>Implements <a class="el" href="classOGRGeometry.html#a6fe8947602669a35136e107cd45b084d">OGRGeometry</a>.</p>

<p>References <a class="el" href="classOGRGeometry.html#a6fe8947602669a35136e107cd45b084d">OGRGeometry::exportToWkb()</a>, <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00106">getGeometryType()</a>, and <a class="el" href="classOGRGeometry.html#acd1a8164dae2e44e50990756ed6b8b4a">OGRGeometry::WkbSize()</a>.</p>

</div>
</div>
<a class="anchor" id="a6612b05d85871c92b24015457883de1c"></a><!-- doxytag: member="OGRGeometryCollection::exportToWkt" ref="a6612b05d85871c92b24015457883de1c" args="(char **ppszDstText) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGRGeometryCollection::exportToWkt </td>
          <td>(</td>
          <td class="paramtype">char **&nbsp;</td>
          <td class="paramname"> <em>ppszDstText</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Convert a geometry into well known text format.</p>
<p>This method relates to the SFCOM IWks::ExportToWKT() method.</p>
<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a3bc9310302e2dbfaab1690de9e2fd2fb">OGR_G_ExportToWkt()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>ppszDstText</em>&nbsp;</td><td>a text buffer is allocated by the program, and assigned to the passed pointer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Currently OGRERR_NONE is always returned. </dd></dl>

<p>Implements <a class="el" href="classOGRGeometry.html#a0c941d5efdff84666af5a6f6b540aafb">OGRGeometry</a>.</p>

<p>Reimplemented in <a class="el" href="classOGRMultiPolygon.html#a21f4a8e2e947c55e9e83b563240bf63e">OGRMultiPolygon</a>, <a class="el" href="classOGRMultiPoint.html#ad8ece50b6411e915bf53d8f31de041ff">OGRMultiPoint</a>, and <a class="el" href="classOGRMultiLineString.html#ad26a712732139dbec7d827a65e273d68">OGRMultiLineString</a>.</p>

<p>References <a class="el" href="classOGRGeometry.html#a0c941d5efdff84666af5a6f6b540aafb">OGRGeometry::exportToWkt()</a>, <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00142">getGeometryName()</a>, and <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00161">getNumGeometries()</a>.</p>

</div>
</div>
<a class="anchor" id="a954d008774d80ad0637bc25088746eea"></a><!-- doxytag: member="OGRGeometryCollection::flattenTo2D" ref="a954d008774d80ad0637bc25088746eea" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGRGeometryCollection::flattenTo2D </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Convert geometry to strictly 2D. In a sense this converts all Z coordinates to 0.0.</p>
<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#afdb7354b55c7448b60b44cd9e36073b8">OGR_G_FlattenTo2D()</a>. </p>

<p>Implements <a class="el" href="classOGRGeometry.html#aaae1a2ced937a5900b2bfeb717bad6c9">OGRGeometry</a>.</p>

</div>
</div>
<a class="anchor" id="af39e7629c39cd27ce00a1ff750bda088"></a><!-- doxytag: member="OGRGeometryCollection::get_Area" ref="af39e7629c39cd27ce00a1ff750bda088" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double OGRGeometryCollection::get_Area </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Compute area of geometry collection.</p>
<p>The area is computed as the sum of the areas of all members in this collection.</p>
<dl class="note"><dt><b>Note:</b></dt><dd>No warning will be issued if a member of the collection does not support the get_Area method.</dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>computed area. </dd></dl>

<p>Reimplemented in <a class="el" href="classOGRMultiPolygon.html#af62f5cde29360891cfadcb42c714941d">OGRMultiPolygon</a>.</p>

<p>References <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00142">getGeometryName()</a>, <a class="el" href="classOGRGeometry.html#a5c6bca18682cb933e3227552d480e1a5">OGRGeometry::getGeometryType()</a>, <a class="el" href="ogr__core_8h_source.html#l00156">wkbGeometryCollection</a>, <a class="el" href="ogr__core_8h_source.html#l00159">wkbLinearRing</a>, <a class="el" href="ogr__core_8h_source.html#l00148">wkbLineString</a>, <a class="el" href="ogr__core_8h_source.html#l00155">wkbMultiPolygon</a>, and <a class="el" href="ogr__core_8h_source.html#l00150">wkbPolygon</a>.</p>

</div>
</div>
<a class="anchor" id="a611f61007e92d5e5807748b48450880c"></a><!-- doxytag: member="OGRGeometryCollection::getDimension" ref="a611f61007e92d5e5807748b48450880c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGRGeometryCollection::getDimension </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get the dimension of this object.</p>
<p>This method corresponds to the SFCOM IGeometry::GetDimension() method. It indicates the dimension of the object, but does not indicate the dimension of the underlying space (as indicated by <a class="el" href="classOGRGeometry.html#a2a93f43a3b66462195b46f7fd2196dfc">OGRGeometry::getCoordinateDimension()</a>).</p>
<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a94b633e1acd208c258ad49f8d4fd4104">OGR_G_GetDimension()</a>.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>0 for points, 1 for lines and 2 for surfaces. </dd></dl>

<p>Implements <a class="el" href="classOGRGeometry.html#aadca09471fa9917452e087ba12d73eeb">OGRGeometry</a>.</p>

</div>
</div>
<a class="anchor" id="a4319e7dea4967dfc1e5a7d4bcdb8e5ff"></a><!-- doxytag: member="OGRGeometryCollection::getEnvelope" ref="a4319e7dea4967dfc1e5a7d4bcdb8e5ff" args="(OGREnvelope *psEnvelope) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGRGeometryCollection::getEnvelope </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOGREnvelope.html">OGREnvelope</a> *&nbsp;</td>
          <td class="paramname"> <em>psEnvelope</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Computes and returns the bounding envelope for this geometry in the passed psEnvelope structure.</p>
<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a617a9c9ea85157661619a1d8f0a69cf9">OGR_G_GetEnvelope()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>psEnvelope</em>&nbsp;</td><td>the structure in which to place the results. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classOGRGeometry.html#aa3d42b06ae6f7bbef6d1a2886da8d398">OGRGeometry</a>.</p>

<p>References <a class="el" href="classOGRGeometry.html#aa3d42b06ae6f7bbef6d1a2886da8d398">OGRGeometry::getEnvelope()</a>.</p>

</div>
</div>
<a class="anchor" id="ad8a37b8aaa8506c59a0f6e361e33cfea"></a><!-- doxytag: member="OGRGeometryCollection::getGeometryName" ref="ad8a37b8aaa8506c59a0f6e361e33cfea" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char * OGRGeometryCollection::getGeometryName </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch WKT name for geometry type.</p>
<p>There is no SFCOM analog to this method.</p>
<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a18121f835b2fb724a0c1a87beb1a437a">OGR_G_GetGeometryName()</a>.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>name used for this geometry type in well known text format. The returned pointer is to a static internal string and should not be modified or freed. </dd></dl>

<p>Implements <a class="el" href="classOGRGeometry.html#aba109e1c53ce1452942f85eae66d88b8">OGRGeometry</a>.</p>

<p>Reimplemented in <a class="el" href="classOGRMultiPolygon.html#a3819c81ad80e967decf4fd5896d54919">OGRMultiPolygon</a>, <a class="el" href="classOGRMultiPoint.html#ac71b8d5d56cc41fc4ead4946effd64a9">OGRMultiPoint</a>, and <a class="el" href="classOGRMultiLineString.html#aeb01456fae7b8953d9955c11313bd06f">OGRMultiLineString</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00607">exportToWkt()</a>, <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00805">get_Area()</a>, and <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00512">importFromWkt()</a>.</p>

</div>
</div>
<a class="anchor" id="ad609f2c7886918a766dd3d3a4fa52ec3"></a><!-- doxytag: member="OGRGeometryCollection::getGeometryRef" ref="ad609f2c7886918a766dd3d3a4fa52ec3" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classOGRGeometry.html">OGRGeometry</a> * OGRGeometryCollection::getGeometryRef </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>i</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch geometry from container.</p>
<p>This method returns a pointer to an geometry within the container. The returned geometry remains owned by the container, and should not be modified. The pointer is only valid untill the next change to the geometry container. Use IGeometry::clone() to make a copy.</p>
<p>This method relates to the SFCOM IGeometryCollection::get_Geometry() method.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>i</em>&nbsp;</td><td>the index of the geometry to fetch, between 0 and <a class="el" href="classOGRGeometryCollection.html#a878ea43754b6c6dc824d3a0d1b3dd0e3">getNumGeometries()</a> - 1. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>pointer to requested geometry. </dd></dl>

<p>Referenced by <a class="el" href="ogrmultipolygon_8cpp_source.html#l00084">OGRMultiPolygon::clone()</a>, <a class="el" href="ogrmultipoint_8cpp_source.html#l00089">OGRMultiPoint::clone()</a>, <a class="el" href="ogrmultilinestring_8cpp_source.html#l00092">OGRMultiLineString::clone()</a>, <a class="el" href="ogrgeometry_8cpp_source.html#l00097">OGRGeometry::dumpReadable()</a>, <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00697">Equals()</a>, <a class="el" href="ogrmultipolygon_8cpp_source.html#l00262">OGRMultiPolygon::exportToWkt()</a>, <a class="el" href="ogrmultipoint_8cpp_source.html#l00112">OGRMultiPoint::exportToWkt()</a>, <a class="el" href="ogrmultilinestring_8cpp_source.html#l00233">OGRMultiLineString::exportToWkt()</a>, <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00670">OGRGeometryFactory::forceToMultiLineString()</a>, <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00602">OGRGeometryFactory::forceToMultiPoint()</a>, <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00536">OGRGeometryFactory::forceToMultiPolygon()</a>, <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00487">OGRGeometryFactory::forceToPolygon()</a>, <a class="el" href="ogrmultipolygon_8cpp_source.html#l00351">OGRMultiPolygon::get_Area()</a>, and <a class="el" href="ograssemblepolygon_8cpp_source.html#l00132">OGRBuildPolygonFromEdges()</a>.</p>

</div>
</div>
<a class="anchor" id="ac0ce5876364a826479eb2a10815fea60"></a><!-- doxytag: member="OGRGeometryCollection::getGeometryType" ref="ac0ce5876364a826479eb2a10815fea60" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ogr__core_8h.html#a800236a0d460ef66e687b7b65610f12a">OGRwkbGeometryType</a> OGRGeometryCollection::getGeometryType </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch geometry type.</p>
<p>Note that the geometry type may include the 2.5D flag. To get a 2D flattened version of the geometry type apply the wkbFlatten() macro to the return result.</p>
<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a8fae58102f5c4a4cf2526e5ca8369a76">OGR_G_GetGeometryType()</a>.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the geometry type code. </dd></dl>

<p>Implements <a class="el" href="classOGRGeometry.html#a5c6bca18682cb933e3227552d480e1a5">OGRGeometry</a>.</p>

<p>Reimplemented in <a class="el" href="classOGRMultiPolygon.html#a3d06dca158cbe0375bfe1baf0927b13b">OGRMultiPolygon</a>, <a class="el" href="classOGRMultiPoint.html#a1608a1b94dfb29122c42a4ac8f1b77d4">OGRMultiPoint</a>, and <a class="el" href="classOGRMultiLineString.html#a960c59e32e54ca010393e5c749c64b50">OGRMultiLineString</a>.</p>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l00628">OGRGeometry::getCoordinateDimension()</a>, <a class="el" href="ogr__core_8h_source.html#l00156">wkbGeometryCollection</a>, and <a class="el" href="ogr__core_8h_source.html#l00166">wkbGeometryCollection25D</a>.</p>

<p>Referenced by <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00763">closeRings()</a>, <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00697">Equals()</a>, and <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00454">exportToWkb()</a>.</p>

</div>
</div>
<a class="anchor" id="a878ea43754b6c6dc824d3a0d1b3dd0e3"></a><!-- doxytag: member="OGRGeometryCollection::getNumGeometries" ref="a878ea43754b6c6dc824d3a0d1b3dd0e3" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGRGeometryCollection::getNumGeometries </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Fetch number of geometries in container.</p>
<p>This method relates to the SFCOM IGeometryCollect::get_NumGeometries() method.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>count of children geometries. May be zero. </dd></dl>

<p>Referenced by <a class="el" href="ogrmultipolygon_8cpp_source.html#l00084">OGRMultiPolygon::clone()</a>, <a class="el" href="ogrmultipoint_8cpp_source.html#l00089">OGRMultiPoint::clone()</a>, <a class="el" href="ogrmultilinestring_8cpp_source.html#l00092">OGRMultiLineString::clone()</a>, <a class="el" href="ogrgeometry_8cpp_source.html#l00097">OGRGeometry::dumpReadable()</a>, <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00697">Equals()</a>, <a class="el" href="ogrmultipolygon_8cpp_source.html#l00262">OGRMultiPolygon::exportToWkt()</a>, <a class="el" href="ogrmultipoint_8cpp_source.html#l00112">OGRMultiPoint::exportToWkt()</a>, <a class="el" href="ogrmultilinestring_8cpp_source.html#l00233">OGRMultiLineString::exportToWkt()</a>, <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00607">exportToWkt()</a>, <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00670">OGRGeometryFactory::forceToMultiLineString()</a>, <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00602">OGRGeometryFactory::forceToMultiPoint()</a>, <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00536">OGRGeometryFactory::forceToMultiPolygon()</a>, <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00487">OGRGeometryFactory::forceToPolygon()</a>, <a class="el" href="ogrmultipolygon_8cpp_source.html#l00351">OGRMultiPolygon::get_Area()</a>, and <a class="el" href="ograssemblepolygon_8cpp_source.html#l00132">OGRBuildPolygonFromEdges()</a>.</p>

</div>
</div>
<a class="anchor" id="a1f06b21c6ec0a0500eb7e3a815283ccf"></a><!-- doxytag: member="OGRGeometryCollection::importFromWkb" ref="a1f06b21c6ec0a0500eb7e3a815283ccf" args="(unsigned char *, int=&#45;1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGRGeometryCollection::importFromWkb </td>
          <td>(</td>
          <td class="paramtype">unsigned char *&nbsp;</td>
          <td class="paramname"> <em>pabyData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nSize</em> = <code>-1</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Assign geometry from well known binary data.</p>
<p>The object must have already been instantiated as the correct derived type of geometry object to match the binaries type. This method is used by the <a class="el" href="classOGRGeometryFactory.html">OGRGeometryFactory</a> class, but not normally called by application code.</p>
<p>This method relates to the SFCOM IWks::ImportFromWKB() method.</p>
<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#afa5a9173aa3b10a4db09ed696a92ba4a">OGR_G_ImportFromWkb()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pabyData</em>&nbsp;</td><td>the binary input data. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>nSize</em>&nbsp;</td><td>the size of pabyData in bytes, or zero if not known.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRERR_NONE if all goes well, otherwise any of OGRERR_NOT_ENOUGH_DATA, OGRERR_UNSUPPORTED_GEOMETRY_TYPE, or OGRERR_CORRUPT_DATA may be returned. </dd></dl>

<p>Implements <a class="el" href="classOGRGeometry.html#ab2c6583c2b7c3e526dcfe54a61470c1f">OGRGeometry</a>.</p>

<p>References <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00073">OGRGeometryFactory::createFromWkb()</a>, <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00064">empty()</a>, <a class="el" href="ogrgeometry_8cpp_source.html#l00628">OGRGeometry::getCoordinateDimension()</a>, <a class="el" href="ogr__core_8h_source.html#l00156">wkbGeometryCollection</a>, <a class="el" href="ogr__core_8h_source.html#l00154">wkbMultiLineString</a>, <a class="el" href="ogr__core_8h_source.html#l00153">wkbMultiPoint</a>, <a class="el" href="ogr__core_8h_source.html#l00155">wkbMultiPolygon</a>, and <a class="el" href="classOGRGeometry.html#acd1a8164dae2e44e50990756ed6b8b4a">OGRGeometry::WkbSize()</a>.</p>

</div>
</div>
<a class="anchor" id="a72381b58185cf0851db54067e3f3f2df"></a><!-- doxytag: member="OGRGeometryCollection::importFromWkt" ref="a72381b58185cf0851db54067e3f3f2df" args="(char **)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGRGeometryCollection::importFromWkt </td>
          <td>(</td>
          <td class="paramtype">char **&nbsp;</td>
          <td class="paramname"> <em>ppszInput</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Assign geometry from well known text data.</p>
<p>The object must have already been instantiated as the correct derived type of geometry object to match the text type. This method is used by the <a class="el" href="classOGRGeometryFactory.html">OGRGeometryFactory</a> class, but not normally called by application code.</p>
<p>This method relates to the SFCOM IWks::ImportFromWKT() method.</p>
<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a4286ba243fb05a831a49f52aabcbc6f8">OGR_G_ImportFromWkt()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>ppszInput</em>&nbsp;</td><td>pointer to a pointer to the source text. The pointer is updated to pointer after the consumed text.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRERR_NONE if all goes well, otherwise any of OGRERR_NOT_ENOUGH_DATA, OGRERR_UNSUPPORTED_GEOMETRY_TYPE, or OGRERR_CORRUPT_DATA may be returned. </dd></dl>

<p>Implements <a class="el" href="classOGRGeometry.html#a30561a301d44b1f90393ea4a78a5b0a5">OGRGeometry</a>.</p>

<p>Reimplemented in <a class="el" href="classOGRMultiPolygon.html#a23b4a553c2b3ccde257359c78782eaf8">OGRMultiPolygon</a>, <a class="el" href="classOGRMultiPoint.html#a283b992718022f5e400e455efe835360">OGRMultiPoint</a>, and <a class="el" href="classOGRMultiLineString.html#a1a71908c13cbe25e4c7b8e2d9cc99af3">OGRMultiLineString</a>.</p>

<p>References <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00268">addGeometryDirectly()</a>, <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00233">OGRGeometryFactory::createFromWkt()</a>, <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00064">empty()</a>, and <a class="el" href="ogrgeometrycollection_8cpp_source.html#l00142">getGeometryName()</a>.</p>

</div>
</div>
<a class="anchor" id="ae7f7a6da1812c2d8aaf71966468d6c37"></a><!-- doxytag: member="OGRGeometryCollection::IsEmpty" ref="ae7f7a6da1812c2d8aaf71966468d6c37" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRBoolean OGRGeometryCollection::IsEmpty </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns TRUE (non-zero) if the object has no points. Normally this returns FALSE except between when an object is instantiated and points have been assigned.</p>
<p>This method relates to the SFCOM IGeometry::IsEmpty() method.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>TRUE if object is empty, otherwise FALSE. </dd></dl>

<p>Implements <a class="el" href="classOGRGeometry.html#ac8653ba97e53f3e3b041946ca2acc111">OGRGeometry</a>.</p>

<p>Referenced by <a class="el" href="ogrmultipoint_8cpp_source.html#l00112">OGRMultiPoint::exportToWkt()</a>.</p>

</div>
</div>
<a class="anchor" id="ae37405203118eeb0430ef38668a385b7"></a><!-- doxytag: member="OGRGeometryCollection::removeGeometry" ref="ae37405203118eeb0430ef38668a385b7" args="(int iIndex, int bDelete=TRUE)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGRGeometryCollection::removeGeometry </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>iGeom</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>bDelete</em> = <code>TRUE</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Remove a geometry from the container.</p>
<p>Removing a geometry will cause the geometry count to drop by one, and all "higher" geometries will shuffle down one in index.</p>
<p>There is no SFCOM analog to this method.</p>
<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a54ea024bb659e48d3297404e53800237">OGR_G_RemoveGeometry()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>iGeom</em>&nbsp;</td><td>the index of the geometry to delete. A value of -1 is a special flag meaning that all geometries should be removed.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>bDelete</em>&nbsp;</td><td>if TRUE the geometry will be deallocated, otherwise it will not. The default is TRUE as the container is considered to own the geometries in it.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRERR_NONE if successful, or OGRERR_FAILURE if the index is out of range. </dd></dl>

<p>Referenced by <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00670">OGRGeometryFactory::forceToMultiLineString()</a>, <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00602">OGRGeometryFactory::forceToMultiPoint()</a>, and <a class="el" href="ogrgeometryfactory_8cpp_source.html#l00536">OGRGeometryFactory::forceToMultiPolygon()</a>.</p>

</div>
</div>
<a class="anchor" id="a9dd126d6cbe87f34eef6de9b9748874b"></a><!-- doxytag: member="OGRGeometryCollection::segmentize" ref="a9dd126d6cbe87f34eef6de9b9748874b" args="(double dfMaxLength)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGRGeometryCollection::segmentize </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>dfMaxLength</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Modify the geometry such it has no segment longer then the given distance. Interpolated points will have Z and M values (if needed) set to 0. Distance computation is performed in 2d only</p>
<p>This function is the same as the C function <a class="el" href="ogr__api_8h.html#ade9f08c8d63bc0e726cb20c201c86423">OGR_G_Segmentize()</a></p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>hGeom</em>&nbsp;</td><td>handle on the geometry to segmentize </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dfMaxLength</em>&nbsp;</td><td>the maximum distance between 2 points after segmentization </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classOGRGeometry.html#a91685bd7c0bdd67cd073a8b4da3c06a5">OGRGeometry</a>.</p>

</div>
</div>
<a class="anchor" id="a815199fda3d141eb52e7237dafade6fe"></a><!-- doxytag: member="OGRGeometryCollection::setCoordinateDimension" ref="a815199fda3d141eb52e7237dafade6fe" args="(int nDimension)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OGRGeometryCollection::setCoordinateDimension </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>nNewDimension</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the coordinate dimension.</p>
<p>This method sets the explicit coordinate dimension. Setting the coordinate dimension of a geometry to 2 should zero out any existing Z values. Setting the dimension of a geometry collection will not necessarily affect the children geometries.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nNewDimension</em>&nbsp;</td><td>New coordinate dimension value, either 2 or 3. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classOGRGeometry.html#a79f84a2b948d511f28c47c47577dea49">OGRGeometry</a>.</p>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l00673">OGRGeometry::setCoordinateDimension()</a>.</p>

</div>
</div>
<a class="anchor" id="a39e5d3d2fbfbfccd7cdf5275f0373816"></a><!-- doxytag: member="OGRGeometryCollection::transform" ref="a39e5d3d2fbfbfccd7cdf5275f0373816" args="(OGRCoordinateTransformation *poCT)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OGRErr OGRGeometryCollection::transform </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOGRCoordinateTransformation.html">OGRCoordinateTransformation</a> *&nbsp;</td>
          <td class="paramname"> <em>poCT</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Apply arbitrary coordinate transformation to geometry.</p>
<p>This method will transform the coordinates of a geometry from their current spatial reference system to a new target spatial reference system. Normally this means reprojecting the vectors, but it could include datum shifts, and changes of units.</p>
<p>Note that this method does not require that the geometry already have a spatial reference system. It will be assumed that they can be treated as having the source spatial reference system of the <a class="el" href="classOGRCoordinateTransformation.html">OGRCoordinateTransformation</a> object, and the actual SRS of the geometry will be ignored. On successful completion the output <a class="el" href="classOGRSpatialReference.html">OGRSpatialReference</a> of the <a class="el" href="classOGRCoordinateTransformation.html">OGRCoordinateTransformation</a> will be assigned to the geometry.</p>
<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a59a5b3f954b11cfbf6e78807c28d6090">OGR_G_Transform()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>poCT</em>&nbsp;</td><td>the transformation to apply.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>OGRERR_NONE on success or an error code. </dd></dl>

<p>Implements <a class="el" href="classOGRGeometry.html#aa9e8bfb3c2129f25cf622660f734e1ba">OGRGeometry</a>.</p>

<p>References <a class="el" href="ogrgeometry_8cpp_source.html#l00228">OGRGeometry::assignSpatialReference()</a>, <a class="el" href="classOGRCoordinateTransformation.html#ae56218b826d186a8b7dcaf63d9b14fdd">OGRCoordinateTransformation::GetTargetCS()</a>, and <a class="el" href="classOGRGeometry.html#aa9e8bfb3c2129f25cf622660f734e1ba">OGRGeometry::transform()</a>.</p>

</div>
</div>
<a class="anchor" id="abbd3a441c99163025c72cb6b8642d44d"></a><!-- doxytag: member="OGRGeometryCollection::WkbSize" ref="abbd3a441c99163025c72cb6b8642d44d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OGRGeometryCollection::WkbSize </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns size of related binary representation.</p>
<p>This method returns the exact number of bytes required to hold the well known binary representation of this geometry object. Its computation may be slightly expensive for complex geometries.</p>
<p>This method relates to the SFCOM IWks::WkbSize() method.</p>
<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#a5f7035a933b957a9d453184c154c237c">OGR_G_WkbSize()</a>.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>size of binary representation in bytes. </dd></dl>

<p>Implements <a class="el" href="classOGRGeometry.html#acd1a8164dae2e44e50990756ed6b8b4a">OGRGeometry</a>.</p>

<p>References <a class="el" href="classOGRGeometry.html#acd1a8164dae2e44e50990756ed6b8b4a">OGRGeometry::WkbSize()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="ogr__geometry_8h_source.html">ogr_geometry.h</a></li>
<li>ogrgeometrycollection.cpp</li>
</ul>
</div>
<hr>

Generated for GDAL by 
<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.6.2-20100208.
</body>
</html>