<!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>mrpt::opengl::CPolyhedron::TPolyhedronEdge Struct Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <div align="left"><a href="http://www.mrpt.org/">Main MRPT website</a> > <b>C++ reference</b> </div> <div align="right"> <a href="index.html"><img border="0" src="mrpt_logo.png" alt="MRPT logo"></a> </div> <!-- Generated by Doxygen 1.7.5 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <div class="left"> <form id="FSearchBox" action="search.php" method="get"> <img id="MSearchSelect" src="search/mag.png" alt=""/> <input type="text" id="MSearchField" name="query" value="Search" size="20" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)"/> </form> </div><div class="right"></div> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespacemrpt.html">mrpt</a> </li> <li class="navelem"><a class="el" href="namespacemrpt_1_1opengl.html">opengl</a> </li> <li class="navelem"><a class="el" href="classmrpt_1_1opengl_1_1_c_polyhedron.html">CPolyhedron</a> </li> <li class="navelem"><a class="el" href="structmrpt_1_1opengl_1_1_c_polyhedron_1_1_t_polyhedron_edge.html">TPolyhedronEdge</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-attribs">Public Attributes</a> </div> <div class="headertitle"> <div class="title">mrpt::opengl::CPolyhedron::TPolyhedronEdge Struct Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="mrpt::opengl::CPolyhedron::TPolyhedronEdge" --><hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Struct used to store a polyhedron edge. </p> <p>The struct consists only of two vertex indices, used to access the polyhedron vertex list. </p> </div> <p><code>#include <<a class="el" href="_c_polyhedron_8h_source.html">mrpt/opengl/CPolyhedron.h</a>></code></p> <p><a href="structmrpt_1_1opengl_1_1_c_polyhedron_1_1_t_polyhedron_edge-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1opengl_1_1_c_polyhedron_1_1_t_polyhedron_edge.html#a73a2cf8d6bea16c20a9f6254aa471d58">TPolyhedronEdge</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#a73a2cf8d6bea16c20a9f6254aa471d58"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1opengl_1_1_c_polyhedron_1_1_t_polyhedron_edge.html#aa968ed7047bbb01c695028eb9e1b9fc8">operator==</a> (const <a class="el" href="structmrpt_1_1opengl_1_1_c_polyhedron_1_1_t_polyhedron_edge.html">TPolyhedronEdge</a> &e) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Comparison agains another edge. <a href="#aa968ed7047bbb01c695028eb9e1b9fc8"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1opengl_1_1_c_polyhedron_1_1_t_polyhedron_edge.html#ad75e5a345926c6e0b4bb0f8823accab7">length</a> (const <a class="el" href="classstd_1_1vector.html">vector</a>< <a class="el" href="structmrpt_1_1math_1_1_t_point3_d.html">TPoint3D</a> > &vs) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Given a set of vertices, computes the length of the vertex. <a href="#ad75e5a345926c6e0b4bb0f8823accab7"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1opengl_1_1_c_polyhedron_1_1_t_polyhedron_edge.html#a1f3975f8daa01844eb5da1f5b3be4d3e">~TPolyhedronEdge</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a1f3975f8daa01844eb5da1f5b3be4d3e"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pub-attribs"></a> Public Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1opengl_1_1_c_polyhedron_1_1_t_polyhedron_edge.html#a0772048f116b6ab3c7e8774b6b2e060e">v1</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">First vertex. <a href="#a0772048f116b6ab3c7e8774b6b2e060e"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1opengl_1_1_c_polyhedron_1_1_t_polyhedron_edge.html#a2cfa185c63a2c53d9966f17fdcd9a2eb">v2</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Second vertex. <a href="#a2cfa185c63a2c53d9966f17fdcd9a2eb"></a><br/></td></tr> </table> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a73a2cf8d6bea16c20a9f6254aa471d58"></a><!-- doxytag: member="mrpt::opengl::CPolyhedron::TPolyhedronEdge::TPolyhedronEdge" ref="a73a2cf8d6bea16c20a9f6254aa471d58" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mrpt::opengl::CPolyhedron::TPolyhedronEdge::TPolyhedronEdge </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Default constructor. </p> <p>Initializes to garbage. </p> <p>Definition at line <a class="el" href="_c_polyhedron_8h_source.html#l00076">76</a> of file <a class="el" href="_c_polyhedron_8h_source.html">CPolyhedron.h</a>.</p> </div> </div> <a class="anchor" id="a1f3975f8daa01844eb5da1f5b3be4d3e"></a><!-- doxytag: member="mrpt::opengl::CPolyhedron::TPolyhedronEdge::~TPolyhedronEdge" ref="a1f3975f8daa01844eb5da1f5b3be4d3e" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mrpt::opengl::CPolyhedron::TPolyhedronEdge::~TPolyhedronEdge </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Destructor. </p> <p>Definition at line <a class="el" href="_c_polyhedron_8h_source.html#l00091">91</a> of file <a class="el" href="_c_polyhedron_8h_source.html">CPolyhedron.h</a>.</p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="ad75e5a345926c6e0b4bb0f8823accab7"></a><!-- doxytag: member="mrpt::opengl::CPolyhedron::TPolyhedronEdge::length" ref="ad75e5a345926c6e0b4bb0f8823accab7" args="(const vector< TPoint3D > &vs) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double mrpt::opengl::CPolyhedron::TPolyhedronEdge::length </td> <td>(</td> <td class="paramtype">const <a class="el" href="classstd_1_1vector.html">vector</a>< <a class="el" href="structmrpt_1_1math_1_1_t_point3_d.html">TPoint3D</a> > & </td> <td class="paramname"><em>vs</em></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Given a set of vertices, computes the length of the vertex. </p> </div> </div> <a class="anchor" id="aa968ed7047bbb01c695028eb9e1b9fc8"></a><!-- doxytag: member="mrpt::opengl::CPolyhedron::TPolyhedronEdge::operator==" ref="aa968ed7047bbb01c695028eb9e1b9fc8" args="(const TPolyhedronEdge &e) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool mrpt::opengl::CPolyhedron::TPolyhedronEdge::operator== </td> <td>(</td> <td class="paramtype">const <a class="el" href="structmrpt_1_1opengl_1_1_c_polyhedron_1_1_t_polyhedron_edge.html">TPolyhedronEdge</a> & </td> <td class="paramname"><em>e</em></td><td>)</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Comparison agains another edge. </p> <p>Simmetry is taken into account. </p> <p>Definition at line <a class="el" href="_c_polyhedron_8h_source.html#l00080">80</a> of file <a class="el" href="_c_polyhedron_8h_source.html">CPolyhedron.h</a>.</p> <p>References <a class="el" href="_c_polyhedron_8h_source.html#l00068">v1</a>, and <a class="el" href="_c_polyhedron_8h_source.html#l00072">v2</a>.</p> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="a0772048f116b6ab3c7e8774b6b2e060e"></a><!-- doxytag: member="mrpt::opengl::CPolyhedron::TPolyhedronEdge::v1" ref="a0772048f116b6ab3c7e8774b6b2e060e" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">uint32_t <a class="el" href="structmrpt_1_1opengl_1_1_c_polyhedron_1_1_t_polyhedron_edge.html#a0772048f116b6ab3c7e8774b6b2e060e">mrpt::opengl::CPolyhedron::TPolyhedronEdge::v1</a></td> </tr> </table> </div> <div class="memdoc"> <p>First vertex. </p> <p>Definition at line <a class="el" href="_c_polyhedron_8h_source.html#l00068">68</a> of file <a class="el" href="_c_polyhedron_8h_source.html">CPolyhedron.h</a>.</p> <p>Referenced by <a class="el" href="_c_polyhedron_8h_source.html#l00080">operator==()</a>.</p> </div> </div> <a class="anchor" id="a2cfa185c63a2c53d9966f17fdcd9a2eb"></a><!-- doxytag: member="mrpt::opengl::CPolyhedron::TPolyhedronEdge::v2" ref="a2cfa185c63a2c53d9966f17fdcd9a2eb" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">uint32_t <a class="el" href="structmrpt_1_1opengl_1_1_c_polyhedron_1_1_t_polyhedron_edge.html#a2cfa185c63a2c53d9966f17fdcd9a2eb">mrpt::opengl::CPolyhedron::TPolyhedronEdge::v2</a></td> </tr> </table> </div> <div class="memdoc"> <p>Second vertex. </p> <p>Definition at line <a class="el" href="_c_polyhedron_8h_source.html#l00072">72</a> of file <a class="el" href="_c_polyhedron_8h_source.html">CPolyhedron.h</a>.</p> <p>Referenced by <a class="el" href="_c_polyhedron_8h_source.html#l00080">operator==()</a>.</p> </div> </div> </div> <br><hr><br> <table border="0" width="100%"> <tr> <td> Page generated by <a href="http://www.doxygen.org" target="_blank">Doxygen 1.7.5</a> for MRPT 0.9.5 SVN: at Sun Sep 25 17:20:18 UTC 2011</td><td></td> <td width="100"> </td> <td width="150"> </td></tr> </table> </body></html>