classdymaxicosa.html

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

HTML
340
字号
<!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: DymaxIcosa 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>DymaxIcosa Class Reference</h1><!-- doxytag: class="DymaxIcosa" --><a href="classDymaxIcosa-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">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDymaxIcosa.html#e6bcc8b35b0bf2d77c3cf15b96d75e20">InitIcosa</a> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDymaxIcosa.html#9beee14e46c8205cac054e438a12f6b3">FindFaceUV</a> (const <a class="el" href="classDPoint2.html">DPoint2</a> &amp;p, int &amp;face, int &amp;subface, <a class="el" href="classDPoint3.html">DPoint3</a> &amp;uvw)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDymaxIcosa.html#9e561bfdb8bf9ad0c900277e530ec0bd">FindFace</a> (const <a class="el" href="classDPoint3.html">DPoint3</a> &amp;p, int &amp;face, int &amp;subface)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDymaxIcosa.html#95e51124bd5d966d3e8f37778072132b">FindUV</a> (const <a class="el" href="classDPoint3.html">DPoint3</a> &amp;p_in, int face, <a class="el" href="classDPoint3.html">DPoint3</a> &amp;uvw)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDymaxIcosa.html#eb30b223c16246dbfb5a64297e3023c0">GeoToFacePoint</a> (const <a class="el" href="classDPoint2.html">DPoint2</a> &amp;p, int &amp;face, int &amp;subface, <a class="el" href="classDPoint3.html">DPoint3</a> &amp;p_out)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDymaxIcosa.html#6bd568e552b5874248473083236b1ae3">FaceUVToGeo</a> (int face, <a class="el" href="classDPoint3.html">DPoint3</a> &amp;uvw, double &amp;lon, double &amp;lat)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ba1c8f4782d1f4bbd2962d85c0d76026"></a><!-- doxytag: member="DymaxIcosa::GeoToDymax" ref="ba1c8f4782d1f4bbd2962d85c0d76026" args="(const DPoint2 &amp;geo, DPoint2 &amp;dymax)" -->bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>GeoToDymax</b> (const <a class="el" href="classDPoint2.html">DPoint2</a> &amp;geo, <a class="el" href="classDPoint2.html">DPoint2</a> &amp;dymax)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3d3501dc057309291caf3a014cddf3b1"></a><!-- doxytag: member="DymaxIcosa::DihedralAngle" ref="3d3501dc057309291caf3a014cddf3b1" args="()" -->double&nbsp;</td><td class="memItemRight" valign="bottom"><b>DihedralAngle</b> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5f7a688c771f7b59ebc830b5e7ac2dfa"></a><!-- doxytag: member="DymaxIcosa::GetDymaxEdges" ref="5f7a688c771f7b59ebc830b5e7ac2dfa" args="(DLine2Array &amp;polys)" -->void&nbsp;</td><td class="memItemRight" valign="bottom"><b>GetDymaxEdges</b> (DLine2Array &amp;polys)</td></tr><tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="10c1a1287dad01ad2423c3fe78618e5b"></a><!-- doxytag: member="DymaxIcosa::AddFlatTri" ref="10c1a1287dad01ad2423c3fe78618e5b" args="(DLine2Array &amp;polys, int a, int b, int c, int d=-1)" -->void&nbsp;</td><td class="memItemRight" valign="bottom"><b>AddFlatTri</b> (DLine2Array &amp;polys, int a, int b, int c, int d=-1)</td></tr><tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0598e1c07247b0f744227c7944804e0e"></a><!-- doxytag: member="DymaxIcosa::m_verts" ref="0598e1c07247b0f744227c7944804e0e" args="[12]" --><a class="el" href="classDPoint3.html">DPoint3</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>m_verts</b> [12]</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="83c7705e933ca8084383224d7c113bd2"></a><!-- doxytag: member="DymaxIcosa::m_face" ref="83c7705e933ca8084383224d7c113bd2" args="[20]" -->icoface&nbsp;</td><td class="memItemRight" valign="bottom"><b>m_face</b> [20]</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9ab8c1ae102a156cd53a9baf4c148ed8"></a><!-- doxytag: member="DymaxIcosa::m_flatverts" ref="9ab8c1ae102a156cd53a9baf4c148ed8" args="[27]" --><a class="el" href="classDPoint2.html">DPoint2</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>m_flatverts</b> [27]</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eeb68856d5fdac3bd4f87797dc40c086"></a><!-- doxytag: member="DymaxIcosa::m_edge_length" ref="eeb68856d5fdac3bd4f87797dc40c086" args="" -->double&nbsp;</td><td class="memItemRight" valign="bottom"><b>m_edge_length</b></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>This class contains a full description of an icosahedron in the Dymaxion orientation. It provides the ability to convert points to and from a simple Gnomonic projection based on the icosahedron. No attempt is made to implement the precise "Dymaxion Projection" which would require using arc lengths.<p>The basis for this decision is Robert Gray's notes which state: "Fuller's world map image is indistinguishable to the world map image created by the Gnomonic projection method indicates that it is the use of the icosahedron, and not the projection method, that seems to be the critical point." <p><hr><h2>Member Function Documentation</h2><a class="anchor" name="6bd568e552b5874248473083236b1ae3"></a><!-- doxytag: member="DymaxIcosa::FaceUVToGeo" ref="6bd568e552b5874248473083236b1ae3" args="(int face, DPoint3 &amp;uvw, double &amp;lon, double &amp;lat)" --><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 DymaxIcosa::FaceUVToGeo           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname" nowrap> <em>face</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="classDPoint3.html">DPoint3</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>uvw</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>lon</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>lat</em></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>Given information about a point in the referenced frame of an icosahedral face (tri, uvw), find the corresponding surface location in geographic coordinate (lon, lat)     </td>  </tr></table><a class="anchor" name="9e561bfdb8bf9ad0c900277e530ec0bd"></a><!-- doxytag: member="DymaxIcosa::FindFace" ref="9e561bfdb8bf9ad0c900277e530ec0bd" args="(const DPoint3 &amp;p, int &amp;face, int &amp;subface)" --><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 DymaxIcosa::FindFace           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classDPoint3.html">DPoint3</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>int &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>face</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>subface</em></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>Determine which part of which icosahedral face a point is on.<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>A 3D point. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>face</em>&nbsp;</td><td>Will receive the face number, from 0 to 19. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>subface</em>&nbsp;</td><td>Will receive the subface number, from 0 to 5. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="9beee14e46c8205cac054e438a12f6b3"></a><!-- doxytag: member="DymaxIcosa::FindFaceUV" ref="9beee14e46c8205cac054e438a12f6b3" args="(const DPoint2 &amp;p, int &amp;face, int &amp;subface, DPoint3 &amp;uvw)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?