Tetrahedron class of a 3D Tetrahedrisation
![]() | _do_set_vertices (TetraVertex3D* v0, TetraVertex3D* v1, TetraVertex3D* v2, TetraVertex3D* v3, bool orientation=true) set the vertices in the tetrahedron @para v0, v1, v2, v3 the vertices @orientation if the orientation of the vertices if correct |
![]() | getZone () const returns the zone containing the tetrahedron |
![]() | setZone (TetraZone3D *z, bool force=true) set the zone containing the tetrahedron |
![]() | getTetrahedrisation () const get the mesh containing the vertex |
![]() | isReal () const whether the tetrahedron is real or virtual |
![]() | setVirtual () set the tetrahedron as a virtual tetrahedron |
![]() | getRef () const returns the vertex unique reference |
![]() | getVertex (const unsigned int i) const returns a vertex of the tetrahedron |
![]() | setVertex (const unsigned int i, TetraVertex3D* v) set the ith vertex of the tetrahedron |
![]() | getEdge (const unsigned int i) const returns an edge of the tetrahedron |
![]() | getAdjacentEdge (const unsigned int i, const unsigned j) const returns the jth edge (0 |
![]() | getAdjacentEdgeIndex (const unsigned int i, const unsigned j) const returns the index of the jth edge (0 |
![]() | getEdge (const unsigned int i, const unsigned j) const returns the edge linking the ith and jth vertex |
![]() | getEdgeIndex (const unsigned int i, const unsigned j) const returns the index of the edge linking the ith and jth vertex |
![]() | getOppositeEdge (const unsigned int i, const unsigned j) const returns the jth opposite edge (0 |
![]() | getOppositeEdge (TetraEdge3D*) const returns the opposite edge of a given edge of the tetrahedron |
![]() | getComplementVertices (const unsigned int i, const unsigned int j, unsigned int &k, unsigned int &l) return the two complement indices (k,l) of the pair (i,j), 0<=i<4, 0<=j<4 */ |
![]() | getEdgeVertexIndex (const unsigned int i, unsigned int &v0, unsigned int &v1) returns the two vertex indices of the edge no i (0<=i<6) |
![]() | getTriangle (const unsigned int i) const returns a triangle of the tetrahedron |
![]() | getNeighboringTetrahedron (const unsigned int i) const returns a neighboring tetrahedron of the tetrahedron |
![]() | neighborIndex (const TetraTetrahedron3D *t) const get array index of a neighbor in neighbors array |
![]() | triangleIndex (const TetraTriangle3D *tr) const get array index of a triangle in triangles array |
![]() | vertexIndex (const TetraVertex3D *v) const get array index of a vertex in vertices array |
![]() | edgeIndex (const TetraEdge3D *e) const get array index of an edge in edges array |
![]() | setRef (unsigned int r) set the tetrahedron unique reference |
![]() | constructor
| ||
![]() | destructor
|
![]() | tetrahedrisation the mesh containing the tetrahedron |
![]() | empty if the tetrahedron is real or virtual |
![]() | dividedTetra list of all tetrahedrons of that division |
![]() | ref unique reference of the tetrahedron |
![]() | vertex [4] the 4 vertices in the tetrahedron |
![]() | edge [6] the 6 edges in the tetrahedron |
![]() | triangle [4] the 4 triangles in the tetrahedron |
![]() | neighbor [4] the 4 adjacent tetrahedra |
![]() | zone the zone containing the tetrahedron |
![]() | setEdgeTriangleRelationShip () set the triangle edge relationship inside the tetrahedron |
![]() | setVertexTetrahedronRelationShip () set the tetrahedron vertex relationship inside the tetrahedron |
![]() | setProperties (TetraTetrahedron3D* t) set all tetrahedron's properties that can be transmited when refining |
![]() | removeFromMesh () remove tetrahedron from mesh |
![]() | code called by constructors |
Tetrahedron class of a 3D Tetrahedrisation
bool empty
std::list <TetraTetrahedron3D*> * dividedTetra
unsigned int ref
TetraVertex3D* vertex[4]
TetraEdge3D* edge[6]
TetraTriangle3D* triangle[4]
TetraTetrahedron3D* neighbor[4]
TetraZone3D* zone
void setEdgeTriangleRelationShip()
void setVertexTetrahedronRelationShip()
virtual void setProperties(TetraTetrahedron3D* t)
virtual void removeFromMesh()
void _do_set_vertices(TetraVertex3D* v0, TetraVertex3D* v1, TetraVertex3D* v2, TetraVertex3D* v3, bool orientation=true)
constructor
TetraTetrahedron3D(Tetra3D *mesh, TetraVertex3D *v0, TetraVertex3D *v1, TetraVertex3D *v2, TetraVertex3D *v3, bool orientation=true)
empty - if the tetrahedron is real or virtual
v0 - , v1, v2, v3 the 4 vertices in the tetrahedron destructor
inline TetraZone3D* getZone() const
void setZone(TetraZone3D *z, bool force=true)
inline Tetra3D* getTetrahedrisation() const
inline bool isReal() const
void setVirtual()
inline unsigned int getRef() const
inline TetraVertex3D* getVertex(const unsigned int i) const
void setVertex(const unsigned int i, TetraVertex3D* v)
inline TetraEdge3D* getEdge(const unsigned int i) const
TetraEdge3D* getAdjacentEdge(const unsigned int i, const unsigned j) const
alphabetic index hierarchy of classes this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling unsigned int getAdjacentEdgeIndex(const unsigned int i, const unsigned j) const
TetraEdge3D* getEdge(const unsigned int i, const unsigned j) const
unsigned int getEdgeIndex(const unsigned int i, const unsigned j) const
TetraEdge3D* getOppositeEdge(const unsigned int i, const unsigned j) const
TetraEdge3D* getOppositeEdge(TetraEdge3D*) const
static void getComplementVertices(const unsigned int i, const unsigned int j, unsigned int &k, unsigned int &l)
static void getEdgeVertexIndex(const unsigned int i, unsigned int &v0, unsigned int &v1)
inline TetraTriangle3D* getTriangle(const unsigned int i) const
inline TetraTetrahedron3D* getNeighboringTetrahedron(const unsigned int i) const
inline int neighborIndex(const TetraTetrahedron3D *t) const
int triangleIndex(const TetraTriangle3D *tr) const
int vertexIndex(const TetraVertex3D *v) const
int edgeIndex(const TetraEdge3D *e) const
void setRef(unsigned int r)
contact: doc++@zib.de