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

📄 classogrsurface.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: OGRSurface 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>OGRSurface Class Reference</h1><!-- doxytag: class="OGRSurface" --><!-- doxytag: inherits="OGRGeometry" --><code>#include &lt;<a class="el" href="ogr__geometry_8h-source.html">ogr_geometry.h</a>&gt;</code><p><p>Inheritance diagram for OGRSurface:<p><center><img src="classOGRSurface.png" usemap="#OGRSurface_map" border="0" alt=""></center><map name="OGRSurface_map"><area href="classOGRGeometry.html" alt="OGRGeometry" shape="rect" coords="0,0,93,24"><area href="classOGRPolygon.html" alt="OGRPolygon" shape="rect" coords="0,112,93,136"></map><a href="classOGRSurface-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 double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSurface.html#f6d00ea56d219c4456163a4c11eafc7c">get_Area</a> () const=0</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSurface.html#3f662a2a483477b83224e02be6fde080">Centroid</a> (<a class="el" href="classOGRPoint.html">OGRPoint</a> *poPoint) const =0</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual OGRErr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRSurface.html#1d28c548d1ceba9841597c5a37356226">PointOnSurface</a> (<a class="el" href="classOGRPoint.html">OGRPoint</a> *poPoint) const =0</td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Abstract base class for 2 dimensional objects like polygons. <p><hr><h2>Member Function Documentation</h2><a class="anchor" name="f6d00ea56d219c4456163a4c11eafc7c"></a><!-- doxytag: member="OGRSurface::get_Area" ref="f6d00ea56d219c4456163a4c11eafc7c" args="() const=0" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">double OGRSurface::get_Area           </td>          <td>(</td>          <td class="paramname">          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"> const<code> [pure virtual]</code></td>        </tr>      </table></div><div class="memdoc"><p>Get the area of the surface object.<p>For polygons the area is computed as the area of the outer ring less the area of all internal rings.<p>This method relates to the SFCOM ISurface::get_Area() method.<p><dl class="return" compact><dt><b>Returns:</b></dt><dd>the area of the feature in square units of the spatial reference system in use. </dd></dl><p>Implemented in <a class="el" href="classOGRPolygon.html#bc23b7c96a4825d5b8b121219f31354a">OGRPolygon</a>.</div></div><p><a class="anchor" name="3f662a2a483477b83224e02be6fde080"></a><!-- doxytag: member="OGRSurface::Centroid" ref="3f662a2a483477b83224e02be6fde080" args="(OGRPoint *poPoint) const =0" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OGRErr OGRSurface::Centroid           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="classOGRPoint.html">OGRPoint</a> *&nbsp;</td>          <td class="paramname"> <em>poPoint</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"> const<code> [pure virtual]</code></td>        </tr>      </table></div><div class="memdoc"><p>Compute and return centroid of surface. The centroid is not necessarily within the geometry.<p>This method relates to the SFCOM ISurface::get_Centroid() method.<p>NOTE: Only implemented when GEOS included in build.<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>poPoint</em>&nbsp;</td><td>point to be set with the centroid location.</td></tr>  </table></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>OGRERR_NONE if it succeeds or OGRERR_FAILURE otherwise. </dd></dl><p>Implemented in <a class="el" href="classOGRPolygon.html#d12bc18f6f0f7c0209c26f5e4cd9eadc">OGRPolygon</a>.</div></div><p><a class="anchor" name="1d28c548d1ceba9841597c5a37356226"></a><!-- doxytag: member="OGRSurface::PointOnSurface" ref="1d28c548d1ceba9841597c5a37356226" args="(OGRPoint *poPoint) const =0" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OGRErr OGRSurface::PointOnSurface           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="classOGRPoint.html">OGRPoint</a> *&nbsp;</td>          <td class="paramname"> <em>poPoint</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"> const<code> [pure virtual]</code></td>        </tr>      </table></div><div class="memdoc"><p>This method relates to the SFCOM ISurface::get_PointOnSurface() method.<p>NOTE: Only implemented when GEOS included in build.<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>poPoint</em>&nbsp;</td><td>point to be set with an internal point.</td></tr>  </table></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>OGRERR_NONE if it succeeds or OGRERR_FAILURE otherwise. </dd></dl><p>Implemented in <a class="el" href="classOGRPolygon.html#76e64f21cd31a6256cc425a6b5639069">OGRPolygon</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>ogrsurface.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 + -