Regina Calculation Engine
Public Member Functions | List of all members
regina::NVertexEmbedding Class Reference

Details how a vertex in the skeleton forms part of an individual tetrahedron. More...

#include <triangulation/nvertex.h>

Public Member Functions

 NVertexEmbedding ()
 Default constructor. More...
 
 NVertexEmbedding (NTetrahedron *newTet, int newVertex)
 Creates an embedding descriptor containing the given data. More...
 
 NVertexEmbedding (const NVertexEmbedding &cloneMe)
 Creates an embedding descriptor containing the same data as the given embedding descriptor. More...
 
NVertexEmbeddingoperator= (const NVertexEmbedding &cloneMe)
 Assigns to this embedding descriptor the same data as is contained in the given embedding descriptor. More...
 
NTetrahedrongetTetrahedron () const
 Returns the tetrahedron in which this vertex is contained. More...
 
int getVertex () const
 Returns the vertex number within getTetrahedron() that is this vertex. More...
 
NPerm4 getVertices () const
 Returns a permutation that maps 0 to the vertex number within getTetrahedron() that is this vertex. More...
 

Detailed Description

Details how a vertex in the skeleton forms part of an individual tetrahedron.

Constructor & Destructor Documentation

regina::NVertexEmbedding::NVertexEmbedding ( )
inline

Default constructor.

The embedding descriptor created is unusable until it has some data assigned to it using operator =.

Python:
Not present.
regina::NVertexEmbedding::NVertexEmbedding ( NTetrahedron newTet,
int  newVertex 
)
inline

Creates an embedding descriptor containing the given data.

Parameters
newTetthe tetrahedron in which this vertex is contained.
newVertexthe 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.

Parameters
cloneMethe embedding descriptor to clone.

Member Function Documentation

NTetrahedron * regina::NVertexEmbedding::getTetrahedron ( ) const
inline

Returns the tetrahedron in which this vertex is contained.

Returns
the tetrahedron.
int regina::NVertexEmbedding::getVertex ( ) const
inline

Returns the vertex number within getTetrahedron() that is this vertex.

Returns
the vertex number that is this vertex.
NPerm4 regina::NVertexEmbedding::getVertices ( ) const
inline

Returns a permutation that maps 0 to the vertex number within getTetrahedron() that is this vertex.

The real point of this routine is that (1,2,3) maps to the three remaining tetrahedron vertices in a manner that preserves orientation as you walk around the vertex (assuming this is actually possible). See NTetrahedron::getVertexMapping() for details.

Returns
a permutation that maps 0 to the vertex number 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.

Parameters
cloneMethe embedding descriptor to clone.

The documentation for this class was generated from the following file:

Copyright © 1999-2013, The Regina development team
This software is released under the GNU General Public License, with some additional permissions; see the source code for details.
For further information, or to submit a bug or other problem, please contact Ben Burton (bab@debian.org).