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

Internal class that helps a component or boundary component store its lists of faces. More...

#include <triangulation/detail/boundarycomponent.h>

Inheritance diagram for regina::detail::WeakFaceListSuite< dim, subdim >:
regina::detail::WeakFaceList< dim, subdim >

Protected Member Functions

template<int tridim>
void reorderAndRelabelFaces (Triangulation< tridim > *tri, const std::vector< Face< dim, tridim > *> &tridimFaces) const
 Reorders and relabels all faces of all dimensions 0,...,subdim of the given triangulation, so that for each k, the k-faces of the given triangulation appear in the same order as the corresponding k-faces in this suite, and have their vertices numbered in a corresponding way. More...
 

Protected Attributes

std::vector< Face< dim, subdim > * > faces_
 The list of faces. More...
 

Detailed Description

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

Internal class that helps a component or boundary component store its lists of faces.

This class is used with dim-dimensional triangulations. It provides storage for faces of all dimensions subdim and below.

Python:
Not present.
Template Parameters
dimthe dimension of the underlying triangulation. This must be between 2 and 15 inclusive.
subdimthe maximum dimension of the faces that this class stores. This must be between 0 and dim-1 inclusive.

Member Function Documentation

§ reorderAndRelabelFaces()

template<int dim, int subdim>
template<int tridim>
void regina::detail::WeakFaceListSuite< dim, subdim >::reorderAndRelabelFaces ( Triangulation< tridim > *  tri,
const std::vector< Face< dim, tridim > *> &  tridimFaces 
) const
inlineprotected

Reorders and relabels all faces of all dimensions 0,...,subdim of the given triangulation, so that for each k, the k-faces of the given triangulation appear in the same order as the corresponding k-faces in this suite, and have their vertices numbered in a corresponding way.

Precondition
For each dimension k = 0,...,subdim, the k-faces of the given triangulation tri are in one-to-one correspondence with the k-faces in this suite, though not necessarily in the same order. Moreover, for each i and j, this correspondence maps the ith k-face of tri->simplex(j) to the ith k-face of tridimFaces[j].
Template Parameters
tridimthe dimension of the given triangulation. This must be strictly larger than subdim, but it need not be equal to dim.
Parameters
tria tridim-dimensional triangulation, as described above.
tridimFacesa list of tridim-faces that together contain all of the faces in this suite, and that are in an ordered one-to-one correspondence with the top-dimensional simplices of tri as described in the precondition above.

Member Data Documentation

§ faces_

template<int dim, int subdim>
std::vector<Face<dim, subdim>*> regina::detail::WeakFaceList< dim, subdim >::faces_
protectedinherited

The list of faces.


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