Side of a tetrahedron. More...
#include <Facet3.h>
Public Member Functions | |
Facet3 (Tet3 *pTet_, const int opp3_) | |
Tet3 * | getTet () |
int | getOpp3Index () const |
int | getIntraTetIndex (int ith) const |
Edge3 | getEdge (int ith) const |
bool | operator== (const Facet3 &other) const |
bool | operator!= (const Facet3 &other) const |
A Facet3 is one of the four sides (triangles) of a tetrahedron and it is represented by a Tet3 pointer and the opposite IntraTetIndex.
FADE3D::Facet3::Facet3 | ( | Tet3 * | pTet_, |
const int | opp3_ | ||
) |
pTet_ | is a pointer to a Tet3 |
opp3_ | selects the side of pTet |
Edge3 FADE3D::Facet3::getEdge | ( | int | ith | ) | const |
Get the ith
edge of the facet
ith | {0,1,2} selects the edge to be returned |
int FADE3D::Facet3::getIntraTetIndex | ( | int | ith | ) | const |
Get the index of the ith
vertex of the facet
int FADE3D::Facet3::getOpp3Index | ( | ) | const |
Get the IntraTetIndex
bool FADE3D::Facet3::operator!= | ( | const Facet3 & | other | ) | const |
Check if two Facet3 objects refer to a different triangle
bool FADE3D::Facet3::operator== | ( | const Facet3 & | other | ) | const |