Details how a vertex in the skeleton of a 2-manifold triangulation forms part of an individual triangle.
More...
#include <dim2/dim2vertex.h>
Details how a vertex in the skeleton of a 2-manifold triangulation forms part of an individual triangle.
regina::Dim2VertexEmbedding::Dim2VertexEmbedding |
( |
| ) |
|
|
inline |
Default constructor.
The embedding descriptor created is unusable until it has some data assigned to it using operator =
.
- Python:
- Not present.
regina::Dim2VertexEmbedding::Dim2VertexEmbedding |
( |
Dim2Triangle * |
tri, |
|
|
int |
vertex |
|
) |
| |
|
inline |
Creates an embedding descriptor containing the given data.
- Parameters
-
tri | the triangle in which this vertex is contained. |
vertex | the vertex number of tri that is this vertex. |
Creates an embedding descriptor containing the same data as the given embedding descriptor.
- Parameters
-
cloneMe | the embedding descriptor to clone. |
Dim2Triangle * regina::Dim2VertexEmbedding::getTriangle |
( |
| ) |
const |
|
inline |
Returns the triangle in which this vertex is contained.
- Returns
- the triangle.
int regina::Dim2VertexEmbedding::getVertex |
( |
| ) |
const |
|
inline |
Returns the vertex number within getTriangle() that is this vertex.
- Returns
- the vertex number that is this vertex.
NPerm3 regina::Dim2VertexEmbedding::getVertices |
( |
| ) |
const |
|
inline |
Returns a permutation that maps 0 to the vertex number within getTriangle() that is this vertex.
This permutation also maps (1,2) to the two remaining triangle vertices in a manner that preserves orientation as you walk around the vertex. See Dim2Triangle::getVertexMapping() for details.
- Returns
- a permutation that maps 0 to the corresponding vertex number of getTriangle().
Assigns to this embedding descriptor the same data as is contained in the given embedding descriptor.
- Parameters
-
cloneMe | the embedding descriptor to clone. |
The documentation for this class was generated from the following file: