📄 classogrcurve.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: OGRCurve 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 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 Pages</span></a></li> </ul></div><div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul></div><h1>OGRCurve Class Reference</h1><!-- doxytag: class="OGRCurve" --><!-- doxytag: inherits="OGRGeometry" --><code>#include <<a class="el" href="ogr__geometry_8h-source.html">ogr_geometry.h</a>></code><p><p>Inheritance diagram for OGRCurve:<p><center><img src="classOGRCurve.png" usemap="#OGRCurve_map" border="0" alt=""></center><map name="OGRCurve_map"><area href="classOGRGeometry.html" alt="OGRGeometry" shape="rect" coords="0,0,100,24"><area href="classOGRLineString.html" alt="OGRLineString" shape="rect" coords="0,112,100,136"><area href="classOGRLinearRing.html" alt="OGRLinearRing" shape="rect" coords="0,168,100,192"></map><a href="classOGRCurve-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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRCurve.html#1eab84f4cae72cab2f861d8e72fc71a6">get_Length</a> () const=0</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRCurve.html#28510cf9de71e098b50d241f6ab99cd1">StartPoint</a> (<a class="el" href="classOGRPoint.html">OGRPoint</a> *) const =0</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRCurve.html#2e9e8e178c7e70efdecd1c50d95d537e">EndPoint</a> (<a class="el" href="classOGRPoint.html">OGRPoint</a> *) const =0</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRCurve.html#6c046d6a445e958cd370437f63db8d8e">get_IsClosed</a> () const</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classOGRCurve.html#c96e6d31c407cddc03cc1af9b99e486e">Value</a> (double, <a class="el" href="classOGRPoint.html">OGRPoint</a> *) const=0</td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Abstract curve base class. <p><hr><h2>Member Function Documentation</h2><a class="anchor" name="1eab84f4cae72cab2f861d8e72fc71a6"></a><!-- doxytag: member="OGRCurve::get_Length" ref="1eab84f4cae72cab2f861d8e72fc71a6" args="() const=0" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">double OGRCurve::get_Length </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [pure virtual]</code></td> </tr> </table></div><div class="memdoc"><p>Returns the length of the curve.<p>This method relates to the SFCOM ICurve::get_Length() method.<p><dl class="return" compact><dt><b>Returns:</b></dt><dd>the length of the curve, zero if the curve hasn't been initialized. </dd></dl><p>Implemented in <a class="el" href="classOGRLineString.html#22d28cc8ac3526c4a993957a57b75ce9">OGRLineString</a>.</div></div><p><a class="anchor" name="28510cf9de71e098b50d241f6ab99cd1"></a><!-- doxytag: member="OGRCurve::StartPoint" ref="28510cf9de71e098b50d241f6ab99cd1" args="(OGRPoint *) const =0" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGRCurve::StartPoint </td> <td>(</td> <td class="paramtype"><a class="el" href="classOGRPoint.html">OGRPoint</a> * </td> <td class="paramname"> <em>poPoint</em> </td> <td> ) </td> <td width="100%"> const<code> [pure virtual]</code></td> </tr> </table></div><div class="memdoc"><p>Return the curve start point.<p>This method relates to the SF COM ICurve::get_StartPoint() 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>poPoint</em> </td><td>the point to be assigned the start location. </td></tr> </table></dl><p>Implemented in <a class="el" href="classOGRLineString.html#48a9e983559b88ecad0629db15f0c790">OGRLineString</a>.</div></div><p><a class="anchor" name="2e9e8e178c7e70efdecd1c50d95d537e"></a><!-- doxytag: member="OGRCurve::EndPoint" ref="2e9e8e178c7e70efdecd1c50d95d537e" args="(OGRPoint *) const =0" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGRCurve::EndPoint </td> <td>(</td> <td class="paramtype"><a class="el" href="classOGRPoint.html">OGRPoint</a> * </td> <td class="paramname"> <em>poPoint</em> </td> <td> ) </td> <td width="100%"> const<code> [pure virtual]</code></td> </tr> </table></div><div class="memdoc"><p>Return the curve end point.<p>This method relates to the SF COM ICurve::get_EndPoint() 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>poPoint</em> </td><td>the point to be assigned the end location. </td></tr> </table></dl><p>Implemented in <a class="el" href="classOGRLineString.html#99daa05665aef02aa0601eb53af814c1">OGRLineString</a>.</div></div><p><a class="anchor" name="6c046d6a445e958cd370437f63db8d8e"></a><!-- doxytag: member="OGRCurve::get_IsClosed" ref="6c046d6a445e958cd370437f63db8d8e" args="() const" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">int OGRCurve::get_IsClosed </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [virtual]</code></td> </tr> </table></div><div class="memdoc"><p>Return TRUE if curve is closed.<p>Tests if a curve is closed. A curve is closed if its start point is equal to its end point.<p>This method relates to the SFCOM ICurve::get_IsClosed() method.<p><dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE if closed, else FALSE. </dd></dl></div></div><p><a class="anchor" name="c96e6d31c407cddc03cc1af9b99e486e"></a><!-- doxytag: member="OGRCurve::Value" ref="c96e6d31c407cddc03cc1af9b99e486e" args="(double, OGRPoint *) const=0" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">void OGRCurve::Value </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"> <em>dfDistance</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classOGRPoint.html">OGRPoint</a> * </td> <td class="paramname"> <em>poPoint</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"> const<code> [pure virtual]</code></td> </tr> </table></div><div class="memdoc"><p>Fetch point at given distance along curve.<p>This method relates to the SF COM ICurve::get_Value() 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>dfDistance</em> </td><td>distance along the curve at which to sample position. This distance should be between zero and <a class="el" href="classOGRCurve.html#1eab84f4cae72cab2f861d8e72fc71a6">get_Length()</a> for this curve. </td></tr> <tr><td valign="top"></td><td valign="top"><em>poPoint</em> </td><td>the point to be assigned the curve position. </td></tr> </table></dl><p>Implemented in <a class="el" href="classOGRLineString.html#e6429dc0324367c33cf1a65b33e7d9c0">OGRLineString</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>ogrcurve.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 + -