classdline3.html
来自「VC下实现图像处理。 VC下实现图像处理。 VC下实现图像处理。」· HTML 代码 · 共 129 行
HTML
129 行
<!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>vtdata library: DLine3 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.4.5 --><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> </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>DLine3 Class Reference</h1><!-- doxytag: class="DLine3" --><!-- doxytag: inherits="vtArray< DPoint3 >" -->Inheritance diagram for DLine3:<p><center><img src="classDLine3__inherit__graph.png" border="0" usemap="#DLine3__inherit__map" alt="Inheritance graph"></center><map name="DLine3__inherit__map"><area href="classvtArray.html" shape="rect" coords="7,7,143,34" alt=""></map><center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classDLine3-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"><a class="anchor" name="5c9df3e4a3cc2c18ea3f0882e5cb185d"></a><!-- doxytag: member="DLine3::DLine3" ref="5c9df3e4a3cc2c18ea3f0882e5cb185d" args="(const DLine3 &ref)" --> </td><td class="memItemRight" valign="bottom"><b>DLine3</b> (const <a class="el" href="classDLine3.html">DLine3</a> &ref)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c915e3199bf68155d87b1af90d561a74"></a><!-- doxytag: member="DLine3::operator=" ref="c915e3199bf68155d87b1af90d561a74" args="(const DLine3 &v)" --><a class="el" href="classDLine3.html">DLine3</a> & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classDLine3.html">DLine3</a> &v)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9322fd3894f32a91686d88d97375541a"></a><!-- doxytag: member="DLine3::Add" ref="9322fd3894f32a91686d88d97375541a" args="(const DPoint2 &p)" -->void </td><td class="memItemRight" valign="bottom"><b>Add</b> (const <a class="el" href="classDPoint2.html">DPoint2</a> &p)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classDLine3.html#5b25413959517359faca2267793e93cf">NearestPoint2D</a> (const <a class="el" href="classDPoint2.html">DPoint2</a> &Point, int &iIndex, double &dist) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classDLine3.html#629c34b68dece73c426bdd6760eef674">ContainsPoint2D</a> (const <a class="el" href="classDPoint2.html">DPoint2</a> &p) const </td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>A series of 3D points. This is useful for representing either a series of points, line segments or a closed polygon. Double-precision. <p><hr><h2>Member Function Documentation</h2><a class="anchor" name="629c34b68dece73c426bdd6760eef674"></a><!-- doxytag: member="DLine3::ContainsPoint2D" ref="629c34b68dece73c426bdd6760eef674" args="(const DPoint2 &p) const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">bool DLine3::ContainsPoint2D </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classDPoint2.html">DPoint2</a> & </td> <td class="mdname1" valign="top" nowrap> <em>p</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>With the assumption that this set of points defines a closed polygon, test whether the polygon contains a given point. Since a simple array of points being interpreted as a polygon, this means the data may be concave or convex, but not contains holes. The third (Z) coordinate is ignored. </td> </tr></table><a class="anchor" name="5b25413959517359faca2267793e93cf"></a><!-- doxytag: member="DLine3::NearestPoint2D" ref="5b25413959517359faca2267793e93cf" args="(const DPoint2 &Point, int &iIndex, double &dist) const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void DLine3::NearestPoint2D </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classDPoint2.html">DPoint2</a> & </td> <td class="mdname" nowrap> <em>Point</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>int & </td> <td class="mdname" nowrap> <em>iIndex</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>double & </td> <td class="mdname" nowrap> <em>dClosest</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"> const</td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Return the nearest (2D distance) point (of the points which make up the line). This is not the same as the closest place on the line, which may lie between the defining points.<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>Point</em> </td><td>The input point. </td></tr> <tr><td valign="top"></td><td valign="top"><em>iIndex</em> </td><td>Index of the first point of the nearest line segment. </td></tr> <tr><td valign="top"></td><td valign="top"><em>dClosest</em> </td><td>Distance from the <a class="el" href="classDLine2.html">DLine2</a> to the input point. </td></tr> </table></dl> </td> </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Jan 14 14:40:54 2008 for vtdata library by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.5 </small></address></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?