classtlink.html

来自「VC下实现图像处理。 VC下实现图像处理。 VC下实现图像处理。」· HTML 代码 · 共 229 行 · 第 1/2 页

HTML
229
字号
          <td class="md" nowrap valign="top">const <a class="el" href="classDPoint2.html">DPoint2</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>bool&nbsp;</td>          <td class="mdname" nowrap> <em>bAllowEnds</em> = <code>true</code></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Find closest lateral distance from a given point to the link.     </td>  </tr></table><a class="anchor" name="dfbf450b8bb0d484f8c9dd239ce133b5"></a><!-- doxytag: member="TLink::GetLinearCoordinates" ref="dfbf450b8bb0d484f8c9dd239ce133b5" args="(const DPoint2 &amp;p, double &amp;a, double &amp;b, DPoint2 &amp;closest, int &amp;linkpoint, float &amp;fractional, bool bAllowEnds=true)" --><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">double TLink::GetLinearCoordinates           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classDPoint2.html">DPoint2</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>p</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>double &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>result_a</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>double &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>result_b</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="classDPoint2.html">DPoint2</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>closest</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>linkpoint</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>fractional</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>bool&nbsp;</td>          <td class="mdname" nowrap> <em>bAllowEnds</em> = <code>true</code></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Produces the "linear coordinates" a and b, where a is the distance along the link, and b is the signed lateral distance orthogonal to the link at that point.<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>p</em>&nbsp;</td><td>The input point. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>result_a</em>&nbsp;</td><td>The resulting distance along the link. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>result_b</em>&nbsp;</td><td>The signed lateral (or absolute) distance to the link. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>closest</em>&nbsp;</td><td>The closest point on the link. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>linkpoint</em>&nbsp;</td><td>Index into the links points just before the closest point. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>fractional</em>&nbsp;</td><td>Fractional distance between this link point and the next. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>bAllowEnds</em>&nbsp;</td><td>If true, then for cases where the the closest point is either end of the link, the distance to that point is returned. Otherwise, only laterial distances are returned. </td></tr>  </table></dl>    </td>  </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Jan 14 14:40:55 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 + =
减小字号Ctrl + -
显示快捷键?