MeshDataStructure::TEdge Class Reference

Inheritance diagram for MeshDataStructure::TEdge:

TMCObject

List of all members.

Public Member Functions

 TEdge ()
boolean IsValidEdge () const
 An invalid edge is an edge that has been deleted from the mesh.
boolean IsPartOfPolygon (int32 polygonIndex) const
boolean ContainsVertex (int32 vertexIndex) const
void SetVertices (int32 pt1, int32 pt2)
int32 GetVertex (int32 vertexIndex) const
int32 GetOtherPoint (int32 vertexIndex) const
void AddPolygon (int32 index)
void RemovePolygon (int32 index)
void RemoveAllPolygons ()
int32 GetPolygon (int32 index) const
int32 GetPolygonCount () const
int32 GetOtherPolygon (int32 polygonIndex) const
real GetMagnitudeSquared (TMesh &mesh) const
boolean GetCrease () const
void SetCrease (boolean crease)

Protected Attributes

int32 fVertices [2]
TMCArray< int32 > fPolygons
boolean fCrease


Constructor & Destructor Documentation

MeshDataStructure::TEdge::TEdge (  ) 


Member Function Documentation

boolean MeshDataStructure::TEdge::IsValidEdge (  )  const [inline]

An invalid edge is an edge that has been deleted from the mesh.

boolean MeshDataStructure::TEdge::IsPartOfPolygon ( int32  polygonIndex  )  const [inline]

boolean MeshDataStructure::TEdge::ContainsVertex ( int32  vertexIndex  )  const [inline]

void MeshDataStructure::TEdge::SetVertices ( int32  pt1,
int32  pt2 
) [inline]

int32 MeshDataStructure::TEdge::GetVertex ( int32  vertexIndex  )  const [inline]

int32 MeshDataStructure::TEdge::GetOtherPoint ( int32  vertexIndex  )  const [inline]

void MeshDataStructure::TEdge::AddPolygon ( int32  index  ) 

void MeshDataStructure::TEdge::RemovePolygon ( int32  index  ) 

void MeshDataStructure::TEdge::RemoveAllPolygons (  )  [inline]

int32 MeshDataStructure::TEdge::GetPolygon ( int32  index  )  const [inline]

int32 MeshDataStructure::TEdge::GetPolygonCount (  )  const [inline]

int32 MeshDataStructure::TEdge::GetOtherPolygon ( int32  polygonIndex  )  const [inline]

real MeshDataStructure::TEdge::GetMagnitudeSquared ( TMesh &  mesh  )  const

boolean MeshDataStructure::TEdge::GetCrease (  )  const [inline]

void MeshDataStructure::TEdge::SetCrease ( boolean  crease  )  [inline]


Member Data Documentation

int32 MeshDataStructure::TEdge::fVertices[2] [protected]

TMCArray<int32> MeshDataStructure::TEdge::fPolygons [protected]

boolean MeshDataStructure::TEdge::fCrease [protected]


The documentation for this class was generated from the following file:
Generated on Fri Aug 24 15:19:35 2007 for Carrara SDK Doc by  doxygen 1.5.3