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

📄 classogrmultipoint.html

📁 gdal库的学习文档
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>OGR: OGRMultiPoint Class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"><link href="tabs.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.5.1 --><div class="tabs">  <ul>    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>    <li id="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>    <li><a href="pages.html"><span>Related&nbsp;Pages</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><h1>OGRMultiPoint Class Reference</h1><!-- doxytag: class="OGRMultiPoint" --><!-- doxytag: inherits="OGRGeometryCollection" --><code>#include &lt;<a class="el" href="ogr__geometry_8h-source.html">ogr_geometry.h</a>&gt;</code><p><p>Inheritance diagram for OGRMultiPoint:<p><center><img src="classOGRMultiPoint.png" usemap="#OGRMultiPoint_map" border="0" alt=""></center><map name="OGRMultiPoint_map"><area href="classOGRGeometryCollection.html" alt="OGRGeometryCollection" shape="rect" coords="0,56,149,80"><area href="classOGRGeometry.html" alt="OGRGeometry" shape="rect" coords="0,0,149,24"></map><a href="classOGRMultiPoint-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRMultiPoint.html#9caf341833a11ed7386c818dbb52a25e">getGeometryName</a> () const</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual OGRwkbGeometryType&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRMultiPoint.html#2c20185f2e6c0c8ecf40e8692db315a7">getGeometryType</a> () const</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classOGRGeometry.html">OGRGeometry</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRMultiPoint.html#6be07788501b520e48ebc89cccbbc3d0">clone</a> () const</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRMultiPoint.html#283b992718022f5e400e455efe835360">importFromWkt</a> (char **)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRMultiPoint.html#d8ece50b6411e915bf53d8f31de041ff">exportToWkt</a> (char **) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRMultiPoint.html#976d4fb497d3b45bb210ab4bde7ecb67">addGeometryDirectly</a> (<a class="el" href="classOGRGeometry.html">OGRGeometry</a> *)</td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>A collection of OGRPoints. <p><hr><h2>Member Function Documentation</h2><a class="anchor" name="9caf341833a11ed7386c818dbb52a25e"></a><!-- doxytag: member="OGRMultiPoint::getGeometryName" ref="9caf341833a11ed7386c818dbb52a25e" args="() const" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">const char * OGRMultiPoint::getGeometryName           </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>Fetch WKT name for geometry type.<p>There is no SFCOM analog to this method.<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#18121f835b2fb724a0c1a87beb1a437a">OGR_G_GetGeometryName()</a>.<p><dl class="return" compact><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>Reimplemented from <a class="el" href="classOGRGeometryCollection.html#f40a832716c7c6eac30bfc59b419b112">OGRGeometryCollection</a>.</div></div><p><a class="anchor" name="2c20185f2e6c0c8ecf40e8692db315a7"></a><!-- doxytag: member="OGRMultiPoint::getGeometryType" ref="2c20185f2e6c0c8ecf40e8692db315a7" args="() const" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OGRwkbGeometryType OGRMultiPoint::getGeometryType           </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>Fetch geometry type.<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>This method is the same as the C function <a class="el" href="ogr__api_8h.html#8fae58102f5c4a4cf2526e5ca8369a76">OGR_G_GetGeometryType()</a>.<p><dl class="return" compact><dt><b>Returns:</b></dt><dd>the geometry type code. </dd></dl><p>Reimplemented from <a class="el" href="classOGRGeometryCollection.html#15b662cc9386bb8554fa74d4428d7e9f">OGRGeometryCollection</a>.</div></div><p><a class="anchor" name="6be07788501b520e48ebc89cccbbc3d0"></a><!-- doxytag: member="OGRMultiPoint::clone" ref="6be07788501b520e48ebc89cccbbc3d0" args="() const" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname"><a class="el" href="classOGRGeometry.html">OGRGeometry</a> * OGRMultiPoint::clone           </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>Make a copy of this object.<p>This method relates to the SFCOM IGeometry::clone() method.<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#1725918932da7d59f9ee72829ac171fa">OGR_G_Clone()</a>.<p><dl class="return" compact><dt><b>Returns:</b></dt><dd>a new object instance with the same geometry, and spatial reference system as the original. </dd></dl><p>Reimplemented from <a class="el" href="classOGRGeometryCollection.html#cdb672a3c99f6f4136f28b4f53dd1855">OGRGeometryCollection</a>.</div></div><p><a class="anchor" name="283b992718022f5e400e455efe835360"></a><!-- doxytag: member="OGRMultiPoint::importFromWkt" ref="283b992718022f5e400e455efe835360" args="(char **)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OGRErr OGRMultiPoint::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>Reimplemented from <a class="el" href="classOGRGeometryCollection.html#72381b58185cf0851db54067e3f3f2df">OGRGeometryCollection</a>.</div></div><p><a class="anchor" name="d8ece50b6411e915bf53d8f31de041ff"></a><!-- doxytag: member="OGRMultiPoint::exportToWkt" ref="d8ece50b6411e915bf53d8f31de041ff" args="(char **) const " --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OGRErr OGRMultiPoint::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>Reimplemented from <a class="el" href="classOGRGeometryCollection.html#038ea304e58110b7e61ea72166774558">OGRGeometryCollection</a>.</div></div><p><a class="anchor" name="976d4fb497d3b45bb210ab4bde7ecb67"></a><!-- doxytag: member="OGRMultiPoint::addGeometryDirectly" ref="976d4fb497d3b45bb210ab4bde7ecb67" args="(OGRGeometry *)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OGRErr OGRMultiPoint::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 width="100%"><code> [virtual]</code></td>        </tr>      </table></div><div class="memdoc"><p>Add a geometry directly to the container.<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#3da519655d14346e591d22a547562b0c">addGeometry()</a> does.<p>This method is the same as the C function <a class="el" href="ogr__api_8h.html#ff56cae8305396a9c5b690d8356e39c9">OGR_G_AddGeometryDirectly()</a>.<p>There is no SFCOM analog to this method.<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>poNewGeom</em>&nbsp;</td><td>geometry to add to the container.</td></tr>  </table></dl><dl class="return" compact><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 from <a class="el" href="classOGRGeometryCollection.html#8422907a01d088ec5ef916382bea8eb3">OGRGeometryCollection</a>.</div></div><p><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>ogrmultipoint.cpp</ul><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.5.1.</body></html>

⌨️ 快捷键说明

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