⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classogrgeometrycollection.html

📁 gdal库的学习文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
        <tr>          <td class="memname">void OGRGeometryCollection::flattenTo2D           </td>          <td>(</td>          <td class="paramname">          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"><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>This method is the same as the C function <a class="el" href="ogr__api_8h.html#fdb7354b55c7448b60b44cd9e36073b8">OGR_G_FlattenTo2D()</a>. <p>Implements <a class="el" href="classOGRGeometry.html#aae1a2ced937a5900b2bfeb717bad6c9">OGRGeometry</a>.</div></div><p><a class="anchor" name="5455f464acd7daa54aa592fb493017a6"></a><!-- doxytag: member="OGRGeometryCollection::WkbSize" ref="5455f464acd7daa54aa592fb493017a6" 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 width="100%"> const<code> [virtual]</code></td>        </tr>      </table></div><div class="memdoc"><p>Returns size of related binary representation.<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>This method relates to the SFCOM IWks::WkbSize() method.<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#5f7035a933b957a9d453184c154c237c">OGR_G_WkbSize()</a>.<p><dl class="return" compact><dt><b>Returns:</b></dt><dd>size of binary representation in bytes. </dd></dl><p>Implements <a class="el" href="classOGRGeometry.html#68215bd90d675b7627a798b162c54ab1">OGRGeometry</a>.</div></div><p><a class="anchor" name="1f06b21c6ec0a0500eb7e3a815283ccf"></a><!-- doxytag: member="OGRGeometryCollection::importFromWkb" ref="1f06b21c6ec0a0500eb7e3a815283ccf" args="(unsigned char *, int=-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 width="100%"><code> [virtual]</code></td>        </tr>      </table></div><div class="memdoc"><p>Assign geometry from well known binary data.<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>This method relates to the SFCOM IWks::ImportFromWKB() method.<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#fa5a9173aa3b10a4db09ed696a92ba4a">OGR_G_ImportFromWkb()</a>.<p><dl compact><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></dl><dl class="return" compact><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#b2c6583c2b7c3e526dcfe54a61470c1f">OGRGeometry</a>.</div></div><p><a class="anchor" name="d3f3dfae1da46c4b0bbdb63abb0c8f5f"></a><!-- doxytag: member="OGRGeometryCollection::exportToWkb" ref="d3f3dfae1da46c4b0bbdb63abb0c8f5f" 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 width="100%"> const<code> [virtual]</code></td>        </tr>      </table></div><div class="memdoc"><p>Convert a geometry into well known binary format.<p>This method relates to the SFCOM IWks::ExportToWKB() method.<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#d5c94ae76c09774dba8725c24daeefd6">OGR_G_ExportToWkb()</a>.<p><dl compact><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#68215bd90d675b7627a798b162c54ab1">OGRGeometry::WkbSize()</a> byte in size.</td></tr>  </table></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>Currently OGRERR_NONE is always returned. </dd></dl><p>Implements <a class="el" href="classOGRGeometry.html#6fe8947602669a35136e107cd45b084d">OGRGeometry</a>.</div></div><p><a class="anchor" name="72381b58185cf0851db54067e3f3f2df"></a><!-- doxytag: member="OGRGeometryCollection::importFromWkt" ref="72381b58185cf0851db54067e3f3f2df" 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 width="100%"><code> [virtual]</code></td>        </tr>      </table></div><div class="memdoc"><p>Assign geometry from well known text data.<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>This method relates to the SFCOM IWks::ImportFromWKT() method.<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#4286ba243fb05a831a49f52aabcbc6f8">OGR_G_ImportFromWkt()</a>.<p><dl compact><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></dl><dl class="return" compact><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#30561a301d44b1f90393ea4a78a5b0a5">OGRGeometry</a>.<p>Reimplemented in <a class="el" href="classOGRMultiPolygon.html#23b4a553c2b3ccde257359c78782eaf8">OGRMultiPolygon</a>, <a class="el" href="classOGRMultiPoint.html#283b992718022f5e400e455efe835360">OGRMultiPoint</a>, and <a class="el" href="classOGRMultiLineString.html#1a71908c13cbe25e4c7b8e2d9cc99af3">OGRMultiLineString</a>.</div></div><p><a class="anchor" name="038ea304e58110b7e61ea72166774558"></a><!-- doxytag: member="OGRGeometryCollection::exportToWkt" ref="038ea304e58110b7e61ea72166774558" 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 width="100%"> const<code> [virtual]</code></td>        </tr>      </table></div><div class="memdoc"><p>Convert a geometry into well known text format.<p>This method relates to the SFCOM IWks::ExportToWKT() method.<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#3bc9310302e2dbfaab1690de9e2fd2fb">OGR_G_ExportToWkt()</a>.<p><dl compact><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></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>Currently OGRERR_NONE is always returned. </dd></dl><p>Implements <a class="el" href="classOGRGeometry.html#71184265101d21cffa5c50ee79afdd61">OGRGeometry</a>.<p>Reimplemented in <a class="el" href="classOGRMultiPolygon.html#21f4a8e2e947c55e9e83b563240bf63e">OGRMultiPolygon</a>, <a class="el" href="classOGRMultiPoint.html#d8ece50b6411e915bf53d8f31de041ff">OGRMultiPoint</a>, and <a class="el" href="classOGRMultiLineString.html#d26a712732139dbec7d827a65e273d68">OGRMultiLineString</a>.</div></div><p><a class="anchor" name="6f9c93d8ce4b2e933e001b02de00a62e"></a><!-- doxytag: member="OGRGeometryCollection::getDimension" ref="6f9c93d8ce4b2e933e001b02de00a62e" 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 width="100%"> const<code> [virtual]</code></td>        </tr>      </table></div><div class="memdoc"><p>Get the dimension of this object.<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#4a6fdd4df7c043558b5428d8f1c35b16">OGRGeometry::getCoordinateDimension()</a>).<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#94b633e1acd208c258ad49f8d4fd4104">OGR_G_GetDimension()</a>.<p><dl class="return" compact><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#266c427f00ea35fdc503393c210a115d">OGRGeometry</a>.</div></div><p><a class="anchor" name="bb1251acb05add0bad92b83d1d6906bb"></a><!-- doxytag: member="OGRGeometryCollection::getEnvelope" ref="bb1251acb05add0bad92b83d1d6906bb" 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 width="100%"> 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>This method is the same as the C function <a class="el" href="ogr__api_8h.html#617a9c9ea85157661619a1d8f0a69cf9">OGR_G_GetEnvelope()</a>.<p><dl compact><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></dl>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -