Internal class that helps a triangulation store its lists of faces.
More...
#include <generic/detail/triangulation.h>
|
| typedef std::vector< Face< dim, subdim > * >::const_iterator | Iterator |
| | An iterator type for iterating through this list of faces. More...
|
| |
|
| void | deleteFaces () |
| | Deletes all faces of dimension subdim and below. 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...
|
| |
| bool | sameDegrees (const FaceList< dim, subdim > &other) const |
| | Tests whether this and the given triangulation have the same subdim-face degree sequences. More...
|
| |
template<int dim, int subdim>
class regina::detail::FaceListSuite< dim, subdim >
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>.
§ deleteFaces()
Deletes all faces of dimension subdim and below.
This routine destroys the corresponding Face objects and clears the lists that contain them.
§ fillFVector()
Fills the given vector with the first (subdim + 1) elements of the f-vector.
Specifically, this routine pushes the values f[0], ..., f[subdim] onto the end of the given vector, where f[k] denotes the number of k-faces that this object stores.
- Parameters
-
| result | the vector in which the results will be placed. |
§ sameDegrees()
template<int dim, int subdim>
Tests whether this and the given triangulation have the same k-face degree sequences, for each facial dimension k ≤ subdim.
For the purposes of this routine, degree sequences are considered to be unordered.
- Precondition
- This and the given triangulation are known to have the same number of k-faces as each other, for each facial dimension k ≤ subdim.
- Parameters
-
| other | the triangulation to compare against this. |
- Returns
true if and only if all degree sequences considered are equal.
§ sameFVector()
template<int dim, int subdim>
Tests whether this and the given triangulation have the same number of k-faces, for each facial dimension k ≤ subdim.
- Parameters
-
| other | the triangulation to compare against this. |
- Returns
true if and only if the face counts considered are identical for both triangluations.
The documentation for this class was generated from the following file: