Read-only class used to represent an edge as a set of two vertices.
More...
#include <btkTriangleMesh.h>
Read-only class used to represent an edge as a set of two vertices.
This class should be used only by using the method TriangleMesh::BeginEdge().
btk::TriangleMesh::Edge::Edge |
( |
| ) |
|
|
inline |
Constructor. By default, the pointers to the vertices are NULL.
Returns the first vertex defining the edge.
Returns the second vertex defining the edge.
bool btk::TriangleMesh::Edge::IsValid |
( |
| ) |
const |
|
inline |
Returns true if the vertices defining the edge are valids.
- Warning
- This method is not thread-safe and must be used only after the connection of a set o points (see method TriangleMesh::ConnectPoints()).