#include <mrpt/opengl/CPolyhedron.h>
Public Member Functions | |
TPolyhedronEdge () | |
Default constructor. | |
bool | operator== (const TPolyhedronEdge &e) const |
Comparison agains another edge. | |
double | length (const vector< TPoint3D > &vs) const |
Given a set of vertices, computes the length of the vertex. | |
~TPolyhedronEdge () | |
Destructor. | |
Public Attributes | |
uint32_t | v1 |
First vertex. | |
uint32_t | v2 |
Second vertex. |
The struct consists only of two vertex indices, used to access the polyhedron vertex list.
Definition at line 56 of file CPolyhedron.h.
mrpt::opengl::CPolyhedron::TPolyhedronEdge::TPolyhedronEdge | ( | ) | [inline] |
mrpt::opengl::CPolyhedron::TPolyhedronEdge::~TPolyhedronEdge | ( | ) | [inline] |
double mrpt::opengl::CPolyhedron::TPolyhedronEdge::length | ( | const vector< TPoint3D > & | vs | ) | const |
Given a set of vertices, computes the length of the vertex.
bool mrpt::opengl::CPolyhedron::TPolyhedronEdge::operator== | ( | const TPolyhedronEdge & | e | ) | const [inline] |
Comparison agains another edge.
Simmetry is taken into account.
Definition at line 72 of file CPolyhedron.h.
Page generated by Doxygen 1.5.9 for MRPT 0.7.1 SVN: at Mon Aug 17 22:20:53 EDT 2009 |