Oriented, indexed edge.
More...
◆ Edge()
G3D::MeshAlg::Edge::Edge |
( |
| ) |
|
◆ boundary()
bool G3D::MeshAlg::Edge::boundary |
( |
| ) |
const |
|
inline |
Returns true if either faceIndex is NONE.
◆ containsVertex()
bool G3D::MeshAlg::Edge::containsVertex |
( |
int |
v | ) |
const |
|
inline |
◆ inFace()
bool G3D::MeshAlg::Edge::inFace |
( |
int |
f | ) |
const |
|
inline |
Returns true if f is contained in the faceIndex array in either slot.
To see if it is forward in that face, just check edge.faceIndex[0] == f.
◆ nextEdgeIndexInFace()
int G3D::MeshAlg::Edge::nextEdgeIndexInFace |
( |
const Array< Edge > & |
edgeArray, |
|
|
const Array< Face > & |
faceArray |
|
) |
| const |
Returns the index into the edgeArray of the next Edge along the winding direction of the Face containing this.
Returns -1 if the data structure is inconsistent and this edge is not found in its containing face.
◆ operator!=()
bool G3D::MeshAlg::Edge::operator!= |
( |
const Edge & |
other | ) |
const |
|
inline |
◆ operator==()
bool G3D::MeshAlg::Edge::operator== |
( |
const Edge & |
other | ) |
const |
|
inline |
◆ reverse()
Edge G3D::MeshAlg::Edge::reverse |
( |
| ) |
const |
|
inline |
Returns the reversed edge.
◆ twinIndex()
int G3D::MeshAlg::Edge::twinIndex |
( |
const Array< Edge > & |
edgeArray, |
|
|
const Array< Face > & |
faceArray |
|
) |
| const |
Returns the index in edgeArray of the reverse directed Edge in the adjacent Face.
At a mesh boundary, returns -1. For a nonmanifold or degenerate mesh Face, returns one of the multiple twins.
◆ faceIndex
int G3D::MeshAlg::Edge::faceIndex[2] |
◆ vertexIndex
int G3D::MeshAlg::Edge::vertexIndex[2] |