Graphite
Version 3
An experimental 3D geometry processing program
|
Represents a vertex of this ConvexCell in dual form. More...
#include <geogram/voronoi/generic_RVD_cell.h>
Public Member Functions | |
Triangle (index_t v0, index_t v1, index_t v2, index_t f0, index_t f1, index_t f2) | |
Creates a new triangle. More... | |
Triangle () | |
Creates a new uninitialized Triangle. | |
Public Attributes | |
GEOGen::Vertex | dual_ |
index_t | v [3] |
index_t | t [3] |
index_t | next_ |
TriangleStatus | status_ |
signed_index_t | id_ |
Represents a vertex of this ConvexCell in dual form.
Each vertex of a ConvexCell is represented combinatorially as a Triangle, in dual form (in primal parlance, each vertex is of degree 3, and can be represented by a triangle). A Triangle knows its tree vertices, its tree adjacent triangles and the geometric point it corresponds to.
Definition at line 99 of file generic_RVD_cell.h.
|
inline |
Creates a new triangle.
[in] | v0 | index of the first vertex |
[in] | v1 | index of the second vertex |
[in] | v2 | index of the third vertex |
[in] | f0 | index of the triangle opposite to v0 |
[in] | f1 | index of the triangle opposite to v1 |
[in] | f2 | index of the triangle opposite to v2 |
Definition at line 110 of file generic_RVD_cell.h.