Regina Calculation Engine
|
Details how a vertex in the skeleton forms part of an individual tetrahedron. More...
#include <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. |
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.
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. |