Overture  Version 25
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Face Class Reference

#include <Face.h>

Public Member Functions

 Face (const ArraySimple< int > &vertices_, int z1_, int z2_, int id_)
 
 Face (const ArraySimpleFixed< int, 3, 1, 1, 1 > &vertices_, int z1_, int z2_, int id_)
 
virtual ~Face ()
 
int getID () const
 
int getVertex (const int &v) const
 
int getZ1ID () const
 
int getZ2ID () const
 
int getNumberOfVertices () const
 
void setZ1ID (const int &z)
 
void setZ2ID (const int &z)
 
void setVertex (int v, int vid)
 
void reverseVertices ()
 

Protected Member Functions

 Face ()
 

Protected Attributes

int nVerts
 
int id
 
int vertices [4]
 
int z1
 
int z2
 

Constructor & Destructor Documentation

Face::Face ( const ArraySimple< int > &  vertices_,
int  z1_,
int  z2_,
int  id_ 
)
inline
Face::Face ( const ArraySimpleFixed< int, 3, 1, 1, 1 > &  vertices_,
int  z1_,
int  z2_,
int  id_ 
)
inline

References nVerts, vertices, z1, and z2.

virtual Face::~Face ( )
inlinevirtual
Face::Face ( )
inlineprotected

Member Function Documentation

int Face::getID ( ) const
inline
int Face::getNumberOfVertices ( ) const
inline
int Face::getVertex ( const int &  v) const
inline
int Face::getZ1ID ( ) const
inline
int Face::getZ2ID ( ) const
inline
void Face::reverseVertices ( )
inline

References nVerts, and vertices.

Referenced by AdvancingFront::improveQuality().

void Face::setVertex ( int  v,
int  vid 
)
inline
void Face::setZ1ID ( const int &  z)
inline

References z1.

Referenced by AdvancingFront::improveQuality().

void Face::setZ2ID ( const int &  z)
inline

Member Data Documentation

int Face::id
protected

Referenced by getID().

int Face::nVerts
protected
int Face::vertices[4]
protected
int Face::z1
protected

Referenced by Face(), getZ1ID(), and setZ1ID().

int Face::z2
protected

Referenced by Face(), getZ2ID(), and setZ2ID().


The documentation for this class was generated from the following files: