Details how an edge in the skeleton forms part of an individual tetrahedron. More...
#include <nedge.h>
Public Member Functions | |
NEdgeEmbedding () | |
Default constructor. | |
NEdgeEmbedding (NTetrahedron *newTet, int newEdge) | |
Creates an embedding descriptor containing the given data. | |
NEdgeEmbedding (const NEdgeEmbedding &cloneMe) | |
Creates an embedding descriptor containing the same data as the given embedding descriptor. | |
NEdgeEmbedding & | operator= (const NEdgeEmbedding &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 edge is contained. | |
int | getEdge () const |
Returns the edge number within getTetrahedron() that is this edge. | |
NPerm | getVertices () const |
Returns a mapping from vertices (0,1) of this edge to the corresponding vertex numbers in getTetrahedron(), as described in NTetrahedron::getEdgeMapping(). |
Details how an edge in the skeleton forms part of an individual tetrahedron.
regina::NEdgeEmbedding::NEdgeEmbedding | ( | ) | [inline] |
Default constructor.
The embedding descriptor created is unusable until it has some data assigned to it using operator =
.
regina::NEdgeEmbedding::NEdgeEmbedding | ( | NTetrahedron * | newTet, |
int | newEdge | ||
) | [inline] |
Creates an embedding descriptor containing the given data.
newTet | the tetrahedron in which this edge is contained. |
newEdge | the edge number of newTet that is this edge. |
regina::NEdgeEmbedding::NEdgeEmbedding | ( | const NEdgeEmbedding & | cloneMe ) | [inline] |
Creates an embedding descriptor containing the same data as the given embedding descriptor.
cloneMe | the embedding descriptor to clone. |
int regina::NEdgeEmbedding::getEdge | ( | ) | const [inline] |
Returns the edge number within getTetrahedron() that is this edge.
NTetrahedron * regina::NEdgeEmbedding::getTetrahedron | ( | ) | const [inline] |
Returns the tetrahedron in which this edge is contained.
NPerm regina::NEdgeEmbedding::getVertices | ( | ) | const [inline] |
Returns a mapping from vertices (0,1) of this edge to the corresponding vertex numbers in getTetrahedron(), as described in NTetrahedron::getEdgeMapping().
NEdgeEmbedding & regina::NEdgeEmbedding::operator= | ( | const NEdgeEmbedding & | cloneMe ) | [inline] |
Assigns to this embedding descriptor the same data as is contained in the given embedding descriptor.
cloneMe | the embedding descriptor to clone. |