#include <nisomorphism.h>
Inheritance diagram for regina::NIsomorphismDirect:
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. | |
NPerm & | facePerm (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. |
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.
regina::NIsomorphismDirect::NIsomorphismDirect | ( | unsigned | newSourceTetrahedra | ) | [inline] |
Creates a new isomorphism with no initialisation.
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.
cloneMe | the isomorphism upon which to base the new isomorphism. |
regina::NIsomorphismDirect::~NIsomorphismDirect | ( | ) | [inline, virtual] |
Destroys this isomorphism.
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)
.
sourceTet | the index of the source tetrahedron containing the original four faces; this must be between 0 and getSourceTetrahedra()-1 inclusive. |
Implements regina::NIsomorphism.
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)
.
sourceTet | the index of the source tetrahedron containing the original four faces; this must be between 0 and getSourceTetrahedra()-1 inclusive. |