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

Helper class for storing which subdim-faces of a dim-dimensional triangulation appear within each top-dimensional simplex. More...

#include <generic/detail/simplex.h>

Inheritance diagram for regina::detail::SimplexFaces< dim, subdim >:
regina::detail::SimplexFacesSuite< dim, subdim > regina::detail::SimplexFacesSuite< dim, dim-1 > regina::detail::SimplexBase< dim > regina::detail::SimplexBase< 2 > regina::detail::SimplexBase< 3 > regina::detail::SimplexBase< 4 > regina::Simplex< dim > regina::Simplex< 3 > regina::Simplex< 4 > regina::Simplex< 2 >

Public Member Functions

 SimplexFaces (const SimplexFaces &)=delete
 Explicitly disable the copy constructor. More...
 
SimplexFacesoperator= (const SimplexFaces &)=delete
 Explicitly disable the assignment operator. More...
 

Protected Member Functions

void clear ()
 Resets all face pointers to null. More...
 
bool sameDegrees (const SimplexFaces< dim, subdim > &other, NPerm< 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...
 
NPerm< 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::SimplexFaces< dim, subdim >

Helper class for storing which subdim-faces of a dim-dimensional triangulation appear within each top-dimensional simplex.

This class is strongly related to FaceEmbedding<dim, subdim>. Whereas each FaceEmbedding object identifies some simplex in which a given subdim-face appears, each SimplexFaces object identifies all subdim-faces which appear within a given simplex.

Constructor & Destructor Documentation

§ SimplexFaces()

template<int dim, int subdim>
regina::detail::SimplexFaces< dim, subdim >::SimplexFaces ( const SimplexFaces< dim, subdim > &  )
delete

Explicitly disable the copy constructor.

Member Function Documentation

§ clear()

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

Resets all face pointers to null.

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

§ operator=()

template<int dim, int subdim>
SimplexFaces& regina::detail::SimplexFaces< dim, subdim >::operator= ( const SimplexFaces< dim, subdim > &  )
delete

Explicitly disable the assignment operator.

§ sameDegrees()

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

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.

Member Data Documentation

§ face_

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

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

§ mapping_

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

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).