Adjacency information for a vertex.
More...
Adjacency information for a vertex.
Does not contain the vertex position or normal, which are stored in the MeshAlg::Geometry object. Vertex
s must be stored in an array parallel to (indexed in the same way as) MeshAlg::Geometry::vertexArray.
◆ Vertex()
G3D::MeshAlg::Vertex::Vertex |
( |
| ) |
|
|
inline |
◆ inEdge()
bool G3D::MeshAlg::Vertex::inEdge |
( |
int |
e | ) |
const |
|
inline |
Returns true if e or ~e is in the edgeIndex list.
◆ inFace()
bool G3D::MeshAlg::Vertex::inFace |
( |
int |
f | ) |
const |
|
inline |
◆ edgeIndex
SmallArray<int, 6> G3D::MeshAlg::Vertex::edgeIndex |
Array of edges adjacent to this vertex.
Let e = edgeIndex[i].
edge[(e >= 0) ? e : ~e].vertexIndex[0] == this vertex index.
Edges may be listed multiple times if they are degenerate.
Referenced by inEdge().
◆ faceIndex
SmallArray<int, 6> G3D::MeshAlg::Vertex::faceIndex |
Array of faces containing this vertex.
Faces may be listed multiple times if they are degenerate.
Referenced by inFace().