In file SM2/SM2Face.h:

class SM2FaceTopology : public ListElement<SM2FaceTopology>

2 simplex mesh face

Inheritance:


Public Fields

typedef VertexSM2FaceTopologyIterator VertexTopologyIterator
defines iterators on vertices of a face
typedef EdgeSM2FaceTopologyIterator EdgeTopologyIterator
defines iterators on edges of a face

Public Methods

void setEdgeTopology (SM2EdgeTopology *e)
set face neighbor edge
void setOrientation (unsigned int o)
set face orientation
SM2EdgeTopology* getFirstEdgeTopology (void) const
returns face first edge
unsigned int getOrientation (void) const
returns face first edge orientation
SM2VertexTopology* getFirstVertexTopology (void) const
returns face first vertex
SM2ZoneTopology* getZoneTopology (void) const
returns face zone
void setZone (SM2ZoneTopology *z)
attach face to zone
bool isAdjacent (SM2FaceTopology *f) const
tests if the face is adjacent to a given face
void deleted (SM2ZoneTopology *z)
removes pointer on deleted zone
static SM2EdgeTopology* nextEdge (const SM2EdgeTopology *e, int& orientation)
returns edge following e given e orientation
static SM2EdgeTopology* previousEdge (const SM2EdgeTopology *e, int& orientation)
returns edge preceeding e given e orientation

Public

constructor
SM2FaceTopology (SM2Topology *mesh, SM2EdgeTopology *edge, unsigned int orientation, SM2ZoneTopology *zone = 0)
constructor
destructor
virtual ~SM2FaceTopology ()
removes face from face's zone faces list
face iterators

iterator over face vertices
unsigned int getVerticesNumber (void) const
returns number of vertices in face
unsigned int getEdgesNumber (void) const
returns number of edges in face
VertexSM2FaceTopologyIterator getVertexTopologyIterator (void) const
returns an iterator over face vertices
EdgeSM2FaceTopologyIterator getEdgeTopologyIterator (void) const
returns an iterator over face edges
int getRef (void) const
returns face reference

Protected Fields

SM2Topology* mesh
2-simplex mesh to which face belongs
SM2EdgeTopology* edge
one face edge
unsigned int orientation
face orientation 0 means this = edge->face[0], run along edge->vertex[0] -> edge->vertex[1] 1 means this = edge->face[1], run along edge->vertex[1] -> edge->vertex[0]
SM2ZoneTopology* zone
zone to which the face belongs
int ref
face unique reference

Documentation

2 simplex mesh face
typedef VertexSM2FaceTopologyIterator VertexTopologyIterator
defines iterators on vertices of a face

typedef EdgeSM2FaceTopologyIterator EdgeTopologyIterator
defines iterators on edges of a face

SM2Topology* mesh
2-simplex mesh to which face belongs

SM2EdgeTopology* edge
one face edge

unsigned int orientation
face orientation 0 means this = edge->face[0], run along edge->vertex[0] -> edge->vertex[1] 1 means this = edge->face[1], run along edge->vertex[1] -> edge->vertex[0]

SM2ZoneTopology* zone
zone to which the face belongs

int ref
face unique reference

constructor

SM2FaceTopology(SM2Topology *mesh, SM2EdgeTopology *edge, unsigned int orientation, SM2ZoneTopology *zone = 0)
constructor
Parameters:
mesh - zone mesh
edge - one face edge
orientation - face orientation versus edge orientation (0 or 1)
zone - zone face belongs to

destructor

virtual ~SM2FaceTopology()
removes face from face's zone faces list

void setEdgeTopology(SM2EdgeTopology *e)
set face neighbor edge

void setOrientation(unsigned int o)
set face orientation

SM2EdgeTopology* getFirstEdgeTopology(void) const
returns face first edge

unsigned int getOrientation(void) const
returns face first edge orientation

SM2VertexTopology* getFirstVertexTopology(void) const
returns face first vertex

SM2ZoneTopology* getZoneTopology(void) const
returns face zone

void setZone(SM2ZoneTopology *z)
attach face to zone
Parameters:
z - new face zone

bool isAdjacent(SM2FaceTopology *f) const
tests if the face is adjacent to a given face

void deleted(SM2ZoneTopology *z)
removes pointer on deleted zone
Parameters:
z - zone being deleted

static SM2EdgeTopology* nextEdge(const SM2EdgeTopology *e, int& orientation)
returns edge following e given e orientation
Returns:
following edge and its orientation (in orientation parameter)
Parameters:
e - current edge
orientation - e orientation (0 means vertex[0] -> vertex[1] and 1 means vertex[1] -> vertex[0])

static SM2EdgeTopology* previousEdge(const SM2EdgeTopology *e, int& orientation)
returns edge preceeding e given e orientation
Returns:
previous edge and its orientation (in orientation parameter)
Parameters:
e - current edge
orientation - e orientation (0 means vertex[0] -> vertex[1] and 1 means vertex[1] -> vertex[0])

face iterators

iterator over face vertices

unsigned int getVerticesNumber(void) const
returns number of vertices in face

unsigned int getEdgesNumber(void) const
returns number of edges in face

VertexSM2FaceTopologyIterator getVertexTopologyIterator(void) const
returns an iterator over face vertices

EdgeSM2FaceTopologyIterator getEdgeTopologyIterator(void) const
returns an iterator over face edges

int getRef(void) const
returns face reference


Direct child classes:
SM2Face

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de