Regina Calculation Engine
Public Member Functions
regina::NVertexEmbedding Class Reference

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

#include <triangulation/nvertex.h>

List of all members.

Public Member Functions

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

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-2011, The Regina development team
This software is released under the GNU General Public License.
For further information, or to submit a bug or other problem, please contact Ben Burton (bab@debian.org).