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

📄 classfline2.html

📁 VC下实现图像处理。 VC下实现图像处理。 VC下实现图像处理。
💻 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>vtdata library: FLine2 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&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>  </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>FLine2 Class Reference</h1><!-- doxytag: class="FLine2" --><!-- doxytag: inherits="vtArray&lt; FPoint2 &gt;" -->Inheritance diagram for FLine2:<p><center><img src="classFLine2__inherit__graph.png" border="0" usemap="#FLine2__inherit__map" alt="Inheritance graph"></center><map name="FLine2__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="classFLine2-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="196bae38794d96138bef9efcdcc6efff"></a><!-- doxytag: member="FLine2::FLine2" ref="196bae38794d96138bef9efcdcc6efff" args="(int size)" -->&nbsp;</td><td class="memItemRight" valign="bottom"><b>FLine2</b> (int size)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e4599e177493b334bfed93d3186a9b56"></a><!-- doxytag: member="FLine2::FLine2" ref="e4599e177493b334bfed93d3186a9b56" args="(const FLine2 &amp;ref)" -->&nbsp;</td><td class="memItemRight" valign="bottom"><b>FLine2</b> (const <a class="el" href="classFLine2.html">FLine2</a> &amp;ref)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="922735eebf389d4a7b784f522608d198"></a><!-- doxytag: member="FLine2::operator=" ref="922735eebf389d4a7b784f522608d198" args="(const FLine2 &amp;v)" --><a class="el" href="classFLine2.html">FLine2</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classFLine2.html">FLine2</a> &amp;v)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0fd398a00553b025362967b4f5d8d03d"></a><!-- doxytag: member="FLine2::operator=" ref="0fd398a00553b025362967b4f5d8d03d" args="(const DLine2 &amp;v)" --><a class="el" href="classFLine2.html">FLine2</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classDLine2.html">DLine2</a> &amp;v)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="89023b698f33b7176c70a7bce9842c25"></a><!-- doxytag: member="FLine2::Area" ref="89023b698f33b7176c70a7bce9842c25" args="() const " -->float&nbsp;</td><td class="memItemRight" valign="bottom"><b>Area</b> () const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="004cdd0a9216788bb07c0d2a6220ceb2"></a><!-- doxytag: member="FLine2::SegmentLength" ref="004cdd0a9216788bb07c0d2a6220ceb2" args="(unsigned int i) const " -->float&nbsp;</td><td class="memItemRight" valign="bottom"><b>SegmentLength</b> (unsigned int i) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFLine2.html#8a5aa0214499d09f196b32f47ae78efa">NearestPoint</a> (const <a class="el" href="classFPoint2.html">FPoint2</a> &amp;Point, int &amp;iIndex, float &amp;dist) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFLine2.html#d49342e6f07d65cf78af49a63e3137e2">NearestPoint</a> (const <a class="el" href="classFPoint2.html">FPoint2</a> &amp;Point, int &amp;iIndex) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="73dcfa35f33f6f9233157757bfaf6769"></a><!-- doxytag: member="FLine2::NearestSegment" ref="73dcfa35f33f6f9233157757bfaf6769" args="(const FPoint2 &amp;Point, int &amp;iIndex, float &amp;dist, FPoint2 &amp;Intersection) const " -->bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>NearestSegment</b> (const <a class="el" href="classFPoint2.html">FPoint2</a> &amp;Point, int &amp;iIndex, float &amp;dist, <a class="el" href="classFPoint2.html">FPoint2</a> &amp;Intersection) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2075bc6d44c88b50e0b6c9d9d842d4c3"></a><!-- doxytag: member="FLine2::InsertPointAfter" ref="2075bc6d44c88b50e0b6c9d9d842d4c3" args="(int iInsertAfter, const FPoint2 &amp;Point)" -->void&nbsp;</td><td class="memItemRight" valign="bottom"><b>InsertPointAfter</b> (int iInsertAfter, const <a class="el" href="classFPoint2.html">FPoint2</a> &amp;Point)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0ff8a7b54b21f0cda7b60d1a73a55f03"></a><!-- doxytag: member="FLine2::ReverseOrder" ref="0ff8a7b54b21f0cda7b60d1a73a55f03" args="()" -->void&nbsp;</td><td class="memItemRight" valign="bottom"><b>ReverseOrder</b> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e48029c95dd7dcdc00f8989e790311c4"></a><!-- doxytag: member="FLine2::IsConvex" ref="e48029c95dd7dcdc00f8989e790311c4" args="() const " -->bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>IsConvex</b> () const </td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>A series of 2D points. This is useful for representing either a series of points, line segments or a closed polygon. Single-precision. <p><hr><h2>Member Function Documentation</h2><a class="anchor" name="d49342e6f07d65cf78af49a63e3137e2"></a><!-- doxytag: member="FLine2::NearestPoint" ref="d49342e6f07d65cf78af49a63e3137e2" args="(const FPoint2 &amp;Point, int &amp;iIndex) 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 FLine2::NearestPoint           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classFPoint2.html">FPoint2</a> &amp;&nbsp;</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 &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>iIndex</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>A slightly faster version of NearestPoint which doesn't provide the distance to the closest point.     </td>  </tr></table><a class="anchor" name="8a5aa0214499d09f196b32f47ae78efa"></a><!-- doxytag: member="FLine2::NearestPoint" ref="8a5aa0214499d09f196b32f47ae78efa" args="(const FPoint2 &amp;Point, int &amp;iIndex, float &amp;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 FLine2::NearestPoint           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classFPoint2.html">FPoint2</a> &amp;&nbsp;</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 &amp;&nbsp;</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>float &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>fClosest</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Return the nearest 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>&nbsp;</td><td>The input point. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>iIndex</em>&nbsp;</td><td>Index of the first point of the nearest line segment. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>fClosest</em>&nbsp;</td><td>Distance from the FLine2 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&nbsp;<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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -