Details how an edge in the 1-skeleton of a 2-manifold triangulation forms part of an individual triangle.
More...
#include <dim2/dim2edge.h>
Details how an edge in the 1-skeleton of a 2-manifold triangulation forms part of an individual triangle.
regina::Dim2EdgeEmbedding::Dim2EdgeEmbedding |
( |
| ) |
|
|
inline |
Default constructor.
The embedding descriptor created is unusable until it has some data assigned to it using operator =
.
- Python:
- Not present.
regina::Dim2EdgeEmbedding::Dim2EdgeEmbedding |
( |
Dim2Triangle * |
tri, |
|
|
int |
edge |
|
) |
| |
|
inline |
Creates an embedding descriptor containing the given data.
- Parameters
-
tri | the triangle in which this edge is contained. |
edge | the edge number of tri that is this edge. |
Creates an embedding descriptor containing the same data as the given embedding descriptor.
- Parameters
-
cloneMe | the embedding descriptor to clone. |
int regina::Dim2EdgeEmbedding::getEdge |
( |
| ) |
const |
|
inline |
Returns the edge number within getTriangle() that is this edge.
- Returns
- the edge number that is this edge.
Dim2Triangle * regina::Dim2EdgeEmbedding::getTriangle |
( |
| ) |
const |
|
inline |
Returns the triangle in which this edge is contained.
- Returns
- the triangle.
NPerm3 regina::Dim2EdgeEmbedding::getVertices |
( |
| ) |
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 triangle.
- 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. |
Tests whether this and the given embedding are identical.
Here "identical" means that they refer to the same edge of the same triangle.
- 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: