TrinityCore
|
Classes | |
class | Edge |
class | Iterator |
Public Types | |
typedef SmallArray< int, 2 > | FaceIndexArray |
typedef SmallArray< Edge, 6 > | EdgeArray |
typedef Array< EdgeArray > | ET |
Public Member Functions | |
MeshEdgeTable () | |
void | clear () |
void | resize (int maxV) |
void | insert (int v0, int v1, int faceIndex) |
Iterator | begin () |
Private Attributes | |
ET | table |
Two-level table mapping index 0 -> index 1 -> list of face indices
typedef SmallArray<Edge, 6> G3D::MeshEdgeTable::EdgeArray |
We expect at most 6 edges per vertex; that matches a typical regular grid mesh
typedef Array< EdgeArray > G3D::MeshEdgeTable::ET |
typedef SmallArray<int, 2> G3D::MeshEdgeTable::FaceIndexArray |
We expect 2 faces per edge.
|
inline |
|
inline |
|
inline |
|
inline |
Inserts the faceIndex into the edge's face list. The index may be a negative number indicating a backface.
v0 | Vertex index 0 |
v1 | Vertex index 1 |
|
inline |
|
private |