MRPT
2.0.4
|
Struct used to store a polyhedron edge.
The struct consists only of two vertex indices, used to access the polyhedron vertex list.
Definition at line 72 of file CPolyhedron.h.
#include <mrpt/opengl/CPolyhedron.h>
Public Member Functions | |
TPolyhedronEdge ()=default | |
Default constructor. More... | |
bool | operator== (const TPolyhedronEdge &e) const |
Comparison agains another edge. More... | |
double | length (const std::vector< mrpt::math::TPoint3D > &vs) const |
Given a set of vertices, computes the length of the vertex. More... | |
~TPolyhedronEdge ()=default | |
Destructor. More... | |
Public Attributes | |
uint32_t | v1 = 0 |
Vertices. More... | |
uint32_t | v2 = 0 |
|
default |
Default constructor.
Initializes to garbage.
|
default |
Destructor.
double CPolyhedron::TPolyhedronEdge::length | ( | const std::vector< mrpt::math::TPoint3D > & | vs | ) | const |
Given a set of vertices, computes the length of the vertex.
Definition at line 469 of file CPolyhedron.cpp.
References mrpt::math::distance().
|
inline |
Comparison agains another edge.
Simmetry is taken into account.
Definition at line 85 of file CPolyhedron.h.
uint32_t mrpt::opengl::CPolyhedron::TPolyhedronEdge::v1 = 0 |
Vertices.
Definition at line 77 of file CPolyhedron.h.
Referenced by mrpt::opengl::CPolyhedron::addEdges(), faceContainsEdge(), mrpt::opengl::operator<<(), operator==(), mrpt::opengl::operator>>(), searchForEdge(), and mrpt::opengl::CPolyhedron::truncate().
uint32_t mrpt::opengl::CPolyhedron::TPolyhedronEdge::v2 = 0 |
Definition at line 77 of file CPolyhedron.h.
Referenced by mrpt::opengl::CPolyhedron::addEdges(), faceContainsEdge(), mrpt::opengl::operator<<(), operator==(), mrpt::opengl::operator>>(), searchForEdge(), and mrpt::opengl::CPolyhedron::truncate().
Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020 |