TrinityCore
|
#include <MeshAlg.h>
Public Member Functions | |
Vertex () | |
bool | inEdge (int e) const |
bool | inFace (int f) const |
Public Attributes | |
SmallArray< int, 6 > | edgeIndex |
SmallArray< int, 6 > | faceIndex |
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.
|
inline |
Returns true if e or ~e is in the edgeIndex list.
|
inline |
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.
SmallArray<int, 6> G3D::MeshAlg::Vertex::faceIndex |
Array of faces containing this vertex. Faces may be listed multiple times if they are degenerate.