Regina Calculation Engine
|
Details how a triangle in the skeleton forms part of an individual tetrahedron. More...
#include <triangulation/ntriangle.h>
Public Member Functions | |
NTriangleEmbedding (NTetrahedron *tet, int tri) | |
Creates an embedding descriptor containing the given data. More... | |
NTriangleEmbedding (const NTriangleEmbedding &cloneMe) | |
Creates an embedding descriptor containing the same data as the given embedding descriptor. More... | |
NTetrahedron * | getTetrahedron () const |
Returns the tetrahedron in which this triangle is contained. More... | |
int | getTriangle () const |
Returns the triangle number within getTetrahedron() that is this triangle. More... | |
int | getFace () const |
A deprecated alias for getTriangle(). More... | |
NPerm4 | getVertices () const |
Returns a mapping from vertices (0,1,2) of this triangle to the corresponding vertex numbers in getTetrahedron(), as described in NTetrahedron::getTriangleMapping(). More... | |
bool | operator== (const NTriangleEmbedding &rhs) const |
Tests whether this and the given embedding are identical. More... | |
bool | operator!= (const NTriangleEmbedding &rhs) const |
Tests whether this and the given embedding are different. More... | |
Details how a triangle in the skeleton forms part of an individual tetrahedron.
|
inline |
Creates an embedding descriptor containing the given data.
tet | the tetrahedron in which this triangle is contained. |
tri | the face number of tet that is this triangle. |
|
inline |
Creates an embedding descriptor containing the same data as the given embedding descriptor.
cloneMe | the embedding descriptor to clone. |
|
inline |
A deprecated alias for getTriangle().
This routine returns the triangle number within getTetrahedron() that is this triangle. See getTriangle() for further details.
|
inline |
Returns the tetrahedron in which this triangle is contained.
|
inline |
Returns the triangle number within getTetrahedron() that is this triangle.
|
inline |
Returns a mapping from vertices (0,1,2) of this triangle to the corresponding vertex numbers in getTetrahedron(), as described in NTetrahedron::getTriangleMapping().
|
inline |
Tests whether this and the given embedding are different.
Here "different" means that they do not refer to the same face of the same tetrahedron.
rhs | the embedding to compare with this. |
true
if and only if both embeddings are identical.
|
inline |
Tests whether this and the given embedding are identical.
Here "identical" means that they refer to the same face of the same tetrahedron.
rhs | the embedding to compare with this. |
true
if and only if both embeddings are identical.