Regina Calculation Engine
Protected Member Functions | Protected Attributes | List of all members
regina::detail::SimplexFacesSuite< dim, subdim > Class Template Reference

Internal class that helps a simplex store the details of its lower-dimensional faces. More...

#include <triangulation/detail/simplex.h>

Inheritance diagram for regina::detail::SimplexFacesSuite< dim, subdim >:
regina::detail::SimplexFaces< dim, subdim >

Protected Member Functions

bool sameDegrees (const SimplexFacesSuite< dim, subdim > &other, Perm< dim+1 > p) const
 Tests whether the k-face degrees of this and the given simplex are identical, under the given relabelling, for all faces of all dimensions ksubdim. More...
 
void clear ()
 Resets all face pointers to null. More...
 
bool sameDegrees (const SimplexFaces< dim, subdim > &other, Perm< dim+1 > p) const
 Tests whether the subdim-face degrees of this and the given simplex are identical, under the given relabelling. More...
 

Protected Attributes

Face< dim, subdim > * face_ [FaceNumbering< dim, subdim >::nFaces]
 The faces of the underlying triangulation that form the individual subdim-faces of this simplex. More...
 
Perm< dim+1 > mapping_ [FaceNumbering< dim, subdim >::nFaces]
 For each subdim-face of this simplex, maps vertices (0,1,...,subdim) of the underlying subdim-face of the triangulation to the corresponding vertices of this simplex, as described by faceMapping(). More...
 

Detailed Description

template<int dim, int subdim>
class regina::detail::SimplexFacesSuite< dim, subdim >

Internal class that helps a simplex store the details of its lower-dimensional faces.

This class is used with dim-dimensional triangulations. It provides storage for all faces of dimension subdim and below. The simplex class Simplex<dim> then derives from SimplexFacesSuite<dim, dim-1>.

Member Function Documentation

§ clear()

template<int dim, int subdim>
void regina::detail::SimplexFaces< dim, subdim >::clear ( )
inlineprotectedinherited

Resets all face pointers to null.

The faces themselves are not destroyed, and the mapping permutations are not touched.

§ sameDegrees() [1/2]

template<int dim, int subdim>
bool regina::detail::SimplexFaces< dim, subdim >::sameDegrees ( const SimplexFaces< dim, subdim > &  other,
Perm< dim+1 >  p 
) const
protectedinherited

Tests whether the subdim-face degrees of this and the given simplex are identical, under the given relabelling.

Parameters
otherthe simplex to compare against this.
pa mapping from the vertices of this simplex to the vertices of other.
Returns
true if and only if, for every i, subdim-face number i of this simplex has the same degree as its image in other under the relabelling p.

§ sameDegrees() [2/2]

template<int dim, int subdim>
bool regina::detail::SimplexFacesSuite< dim >::sameDegrees ( const SimplexFacesSuite< dim, subdim > &  other,
Perm< dim+1 >  p 
) const
inlineprotected

Tests whether the k-face degrees of this and the given simplex are identical, under the given relabelling, for all faces of all dimensions ksubdim.

Parameters
otherthe simplex to compare against this.
pa mapping from the vertices of this simplex to the vertices of other.
Returns
true if and only if, for every i and every facial dimension ksubdim, k-face number i of this simplex has the same degree as its image in other under the relabelling p.

Member Data Documentation

§ face_

template<int dim, int subdim>
Face<dim, subdim>* regina::detail::SimplexFaces< dim, subdim >::face_[FaceNumbering< dim, subdim >::nFaces]
protectedinherited

The faces of the underlying triangulation that form the individual subdim-faces of this simplex.

§ mapping_

template<int dim, int subdim>
Perm<dim+1> regina::detail::SimplexFaces< dim, subdim >::mapping_[FaceNumbering< dim, subdim >::nFaces]
protectedinherited

For each subdim-face of this simplex, maps vertices (0,1,...,subdim) of the underlying subdim-face of the triangulation to the corresponding vertices of this simplex, as described by faceMapping().


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

Copyright © 1999-2016, 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@maths.uq.edu.au).