Regina Calculation Engine
|
Internal class that helps a triangulation store its lists of faces. More...
#include <triangulation/detail/triangulation.h>
Protected Types | |
typedef std::vector< Face< dim, subdim > * >::const_iterator | Iterator |
An iterator type for iterating through this list of faces. More... | |
Protected Member Functions | |
void | deleteFaces () |
Deletes all faces of dimension subdim and below. More... | |
void | swapFaces (FaceListSuite< dim, subdim > &other) |
Swaps all faces of dimension subdim and below with those of the given triangulation. More... | |
void | fillFVector (std::vector< size_t > &result) const |
Fills the given vector with the first (subdim + 1) elements of the f-vector. More... | |
bool | sameFVector (const FaceListSuite< dim, subdim > &other) const |
Tests whether this and the given triangulation have the same number of k-faces, for each facial dimension k ≤ subdim. More... | |
bool | sameDegrees (const FaceListSuite< dim, subdim > &other) const |
Tests whether this and the given triangulation have the same k-face degree sequences, for each facial dimension k ≤ subdim. More... | |
size_t | size () const |
Returns the number of subdim-faces in the triangulation. More... | |
Face< dim, subdim > * | operator[] (size_t index) const |
Returns the requested subdim-face. More... | |
Iterator | begin () const |
Returns an iterator pointing to the first subdim-face. More... | |
Iterator | end () const |
Returns an iterator pointing beyond the last subdim-face. More... | |
void | push_back (Face< dim, subdim > *face) |
Pushes the given face onto the end of this list. More... | |
void | destroy () |
Destroys all faces in this list, and clears the list itself. More... | |
void | swap (FaceList< dim, subdim > &other) |
Swaps all faces in this list with those in the given list. More... | |
bool | sameDegrees (const FaceList< dim, subdim > &other) const |
Tests whether this and the given triangulation have the same subdim-face degree sequences. More... | |
template<typename Iterator > | |
void | reorderFaces (Iterator begin, Iterator end) |
Reorders this list of faces. More... | |
Internal class that helps a triangulation store its lists of faces.
This class is used with dim-dimensional triangulations. It provides storage for all faces of dimension subdim and below. The triangulation class Triangulation<dim> then derives from FaceListSuite<dim, dim-1>.