regina::NIsomorphismDirect Class Reference
[Triangulations]

An isomorphism in which face permutations are stored directly. More...

#include <nisomorphism.h>

Inheritance diagram for regina::NIsomorphismDirect:

regina::NIsomorphism regina::ShareableObject regina::boost::noncopyable

List of all members.

Public Member Functions

 NIsomorphismDirect (unsigned newSourceTetrahedra)
 Creates a new isomorphism with no initialisation.
 NIsomorphismDirect (const NIsomorphism &cloneMe)
 Creates a new isomorphism identical to the given isomorphism.
virtual ~NIsomorphismDirect ()
 Destroys this isomorphism.
NPermfacePerm (unsigned sourceTet)
 Returns a read-write reference to the permutation that is applied to the four faces of the given source tetrahedron under this isomorphism.
virtual NPerm facePerm (unsigned sourceTet) const
 Determines the permutation that is applied to the four faces of the given source tetrahedron under this isomorphism.


Detailed Description

An isomorphism in which face permutations are stored directly.

There is direct write-access to the individual face permutations, but no simple method of iterating through possible face permutations.

See the NIsomorphism class notes for further details on the types of isomorphism that can be represented.

Python:
Not present.

Constructor & Destructor Documentation

regina::NIsomorphismDirect::NIsomorphismDirect ( unsigned  newSourceTetrahedra  )  [inline]

Creates a new isomorphism with no initialisation.

Parameters:
newSourceTetrahedra the number of tetrahedra in the source triangulation associated with this isomorphism; this may be zero.

regina::NIsomorphismDirect::NIsomorphismDirect ( const NIsomorphism cloneMe  ) 

Creates a new isomorphism identical to the given isomorphism.

Parameters:
cloneMe the isomorphism upon which to base the new isomorphism.

regina::NIsomorphismDirect::~NIsomorphismDirect (  )  [inline, virtual]

Destroys this isomorphism.


Member Function Documentation

NPerm & regina::NIsomorphismDirect::facePerm ( unsigned  sourceTet  )  [inline]

Returns a read-write reference to the permutation that is applied to the four faces of the given source tetrahedron under this isomorphism.

Face i of source tetrahedron sourceTet will be mapped to face facePerm(sourceTet)[i] of tetrahedron tetImage(sourceTet).

Parameters:
sourceTet the index of the source tetrahedron containing the original four faces; this must be between 0 and getSourceTetrahedra()-1 inclusive.
Returns:
a read-write reference to the permutation applied to the four faces of the source tetrahedron.

NPerm regina::NIsomorphismDirect::facePerm ( unsigned  sourceTet  )  const [inline, virtual]

Determines the permutation that is applied to the four faces of the given source tetrahedron under this isomorphism.

Face i of source tetrahedron sourceTet will be mapped to face facePerm(sourceTet)[i] of tetrahedron tetImage(sourceTet).

Parameters:
sourceTet the index of the source tetrahedron containing the original four faces; this must be between 0 and getSourceTetrahedra()-1 inclusive.
Returns:
the permutation applied to the four faces of the source tetrahedron.

Implements regina::NIsomorphism.


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

Copyright © 1999-2008, Ben Burton
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).