Developer Documentation
Centre for Vision, Speech & Signal Processing
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
TriEdgeSetC::TriEdgeSetC(TriSetC &)
TriEdgeSetC::GetAdjacentTriangle(IntT,IntT,IntT)
TriEdgeSetC::AddEdge(IntT,IntT,IntT)
TriEdgeSetC::IndexOf(IntT,IntT)
TriEdgeSetC::OrderVertices(IntT &,IntT &)
TriEdgeSetC
 
Class Description
 
include "amma/TriEdgeSet.hh"
User Level:Default
Library:tri
Example: cri.cc
Section:3D Surface.Polyhedral Representation
In Scope:std

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:
EdgeC
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