|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
This class allows simple adjacent-triangle finding in
TriSetC objects. The class can return an adjacent triangle,
given an edge (a pair of vertices) and a current triangle.
Child Classes:
Variables:
- vector> vEdgeList;
-
Methods:
- TriEdgeSetC(TriSetC & triSet)
-
Constructor
Creates a TriEdgeSetC corresponding to a TriSetC.
- IntT GetAdjacentTriangle(IntT iVertexOne,IntT iVertexTwo,IntT iCurrentTriangle)
-
Access to adjacent triangle information
Returns the index of the triangle that shares the edge (iVertexOne,iVertexTwo) with iCurrentTriangle
- BooleanT AddEdge(IntT iVertexOne,IntT iVertexTwo,IntT iCurrentTriangle)
-
Adds the edge between iVertexOne and iVertexTwo to the edge list, and associates it with iCurrentTriangle
- IntT IndexOf(IntT iLowerVertex,IntT iUpperVertex)
-
Finds the offset of iUpperVertex in the edge list for iLowerVertex
- void OrderVertices(IntT & iVertexOne,IntT & iVertexTwo)
-
Orders the vertices so that iVertexOne < iVertexTwo
|
Programmer: James Smith, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|