Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

AOMD::mFace Class Reference

#include <mFace.h>

Inheritance diagram for AOMD::mFace:

Inheritance graph
[legend]
Collaboration diagram for AOMD::mFace:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual ~mFace ()
 mFace ()
 mFace (mVertex *v1, mVertex *v2, mVertex *v3, GEntity *classification)
 Special constructor for creating a triangle with vertices.
 mFace (mEdge *v1, mEdge *v2, mEdge *v3, GEntity *classification, int *dir=0)
 Special constructor for creating a triangle with edge.
 mFace (mVertex *v1, mVertex *v2, mVertex *v3, mVertex *v4, GEntity *classification)
 Special constructor for creating a quad with vertices.
 mFace (mEdge *v1, mEdge *v2, mEdge *v3, mEdge *v4, GEntity *classification, int *dir=0)
 Special constructor for creating a quad with edges.
int getLevel () const
 getLevel returns 2
mEntity::mType getType () const
 getType could return QUAD, TRI or FACE
mVertexcommonVertex (mFace *f1, mFace *f2)
 Get the common vertex of 3 faces.
mEdgecommonEdge (mFace *f1)
 Get the common edge of 2 faces.
virtual int getNbTemplates (int what) const
 Template members.
virtual mEntitygetTemplate (int ith, int what, int with) const
 Template members.
virtual void print () const
 Debug stuff.

Static Public Member Functions

int getDim ()

Detailed Description

The Face is implemented generally i.e a face can have N edges The assumption is that the number of edges is equal to the number of vertices and that 2 consecutive edges share one vertex, that's the template Special constructors for triangles & quads


Constructor & Destructor Documentation

AOMD::mFace::~mFace  )  [virtual]
 

AOMD::mFace::mFace  ) 
 

AOMD::mFace::mFace mVertex v1,
mVertex v2,
mVertex v3,
GEntity classification
 

AOMD::mFace::mFace mEdge v1,
mEdge v2,
mEdge v3,
GEntity classification,
int *  dir = 0
 

AOMD::mFace::mFace mVertex v1,
mVertex v2,
mVertex v3,
mVertex v4,
GEntity classification
 

AOMD::mFace::mFace mEdge v1,
mEdge v2,
mEdge v3,
mEdge v4,
GEntity classification,
int *  dir = 0
 


Member Function Documentation

mEdge * AOMD::mFace::commonEdge mFace f1  ) 
 

mVertex * AOMD::mFace::commonVertex mFace f1,
mFace f2
 

int AOMD::mFace::getDim  )  [inline, static]
 

Get the dimension of the entity through a static function Useful for template algorithms

int AOMD::mFace::getLevel  )  const [virtual]
 

Implements AOMD::mEntity.

int AOMD::mFace::getNbTemplates int  what  )  const [virtual]
 

Reimplemented from AOMD::mEntity.

mEntity * AOMD::mFace::getTemplate int  ith,
int  what,
int  with
const [virtual]
 

Reimplemented from AOMD::mEntity.

mEntity::mType AOMD::mFace::getType  )  const [inline, virtual]
 

Implements AOMD::mEntity.

void AOMD::mFace::print  )  const [virtual]
 

Reimplemented from AOMD::mEntity.


The documentation for this class was generated from the following files:
Generated on Thu Nov 1 10:40:33 2007 for FMDB by  doxygen 1.3.9.1