Details how an edge in the skeleton forms part of an individual tetrahedron.
More...
#include <triangulation/nedge.h>
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 =
.
- Python:
- Not present.
regina::NEdgeEmbedding::NEdgeEmbedding |
( |
NTetrahedron * |
newTet, |
|
|
int |
newEdge |
|
) |
| |
|
inline |
Creates an embedding descriptor containing the given data.
- Parameters
-
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.
- Parameters
-
cloneMe | the embedding descriptor to clone. |
int regina::NEdgeEmbedding::getEdge |
( |
| ) |
const |
|
inline |
NTetrahedron * regina::NEdgeEmbedding::getTetrahedron |
( |
| ) |
const |
|
inline |
Returns the tetrahedron in which this edge is contained.
- Returns
- the tetrahedron.
NPerm4 regina::NEdgeEmbedding::getVertices |
( |
| ) |
const |
|
inline |
Returns a mapping from vertices (0,1) of this edge to the corresponding vertex numbers in getTetrahedron().
This permutation also maps (2,3) to the two remaining tetrahedron vertices in a manner that preserves orientation as you walk around the edge. See NTetrahedron::getEdgeMapping() for details.
- Returns
- a mapping from the vertices of this edge to the vertices of getTetrahedron().
bool regina::NEdgeEmbedding::operator!= |
( |
const NEdgeEmbedding & |
rhs | ) |
const |
|
inline |
Tests whether this and the given embedding are different.
Here "different" means that they do not refer to the same edge of the same tetrahedron.
- Parameters
-
rhs | the embedding to compare with this. |
- Returns
true
if and only if both embeddings are identical.
Assigns to this embedding descriptor the same data as is contained in the given embedding descriptor.
- Parameters
-
cloneMe | the embedding descriptor to clone. |
bool regina::NEdgeEmbedding::operator== |
( |
const NEdgeEmbedding & |
rhs | ) |
const |
|
inline |
Tests whether this and the given embedding are identical.
Here "identical" means that they refer to the same edge of the same tetrahedron.
- Parameters
-
rhs | the embedding to compare with this. |
- Returns
true
if and only if both embeddings are identical.
The documentation for this class was generated from the following file: