Regina Calculation Engine
|
Details how a vertex in the skeleton forms part of an individual tetrahedron. More...
#include <triangulation/nvertex.h>
Public Member Functions | |
NVertexEmbedding () | |
Default constructor. | |
NVertexEmbedding (NTetrahedron *newTet, int newVertex) | |
Creates an embedding descriptor containing the given data. | |
NVertexEmbedding (const NVertexEmbedding &cloneMe) | |
Creates an embedding descriptor containing the same data as the given embedding descriptor. | |
NVertexEmbedding & | operator= (const NVertexEmbedding &cloneMe) |
Assigns to this embedding descriptor the same data as is contained in the given embedding descriptor. | |
NTetrahedron * | getTetrahedron () const |
Returns the tetrahedron in which this vertex is contained. | |
int | getVertex () const |
Returns the vertex number within getTetrahedron() that is this vertex. | |
NPerm4 | getVertices () const |
Returns a permutation that maps 0 to the vertex number within getTetrahedron() that is this vertex. |
Details how a vertex in the skeleton forms part of an individual tetrahedron.
regina::NVertexEmbedding::NVertexEmbedding | ( | ) | [inline] |
Default constructor.
The embedding descriptor created is unusable until it has some data assigned to it using operator =
.
regina::NVertexEmbedding::NVertexEmbedding | ( | NTetrahedron * | newTet, |
int | newVertex | ||
) | [inline] |
Creates an embedding descriptor containing the given data.
newTet | the tetrahedron in which this vertex is contained. |
newVertex | the vertex number of newTet that is this vertex. |
regina::NVertexEmbedding::NVertexEmbedding | ( | const NVertexEmbedding & | cloneMe | ) | [inline] |
Creates an embedding descriptor containing the same data as the given embedding descriptor.
cloneMe | the embedding descriptor to clone. |
NTetrahedron * regina::NVertexEmbedding::getTetrahedron | ( | ) | const [inline] |
Returns the tetrahedron in which this vertex is contained.
int regina::NVertexEmbedding::getVertex | ( | ) | const [inline] |
Returns the vertex number within getTetrahedron() that is this vertex.
NPerm4 regina::NVertexEmbedding::getVertices | ( | ) | const [inline] |
Returns a permutation that maps 0 to the vertex number within getTetrahedron() that is this vertex.
The real point of this routine is that (1,2,3) maps to the three remaining tetrahedron vertices in a manner that preserves orientation as you walk around the vertex (assuming this is actually possible). See NTetrahedron::getVertexMapping() for details.
NVertexEmbedding & regina::NVertexEmbedding::operator= | ( | const NVertexEmbedding & | cloneMe | ) | [inline] |
Assigns to this embedding descriptor the same data as is contained in the given embedding descriptor.
cloneMe | the embedding descriptor to clone. |