Helper class that provides core functionality for a top-dimensional simplex in a dim-manifold triangulation.
More...
|
const std::string & | description () const |
| Returns the description associated with this simplex. More...
|
|
void | setDescription (const std::string &desc) |
| Sets the description associated with this simplex. More...
|
|
size_t | index () const |
| Returns the index of this simplex in the underlying triangulation. More...
|
|
Simplex< dim > * | adjacentSimplex (int facet) const |
| Returns the adjacent simplex that is glued to the given facet of this simplex. More...
|
|
Perm< dim+1 > | adjacentGluing (int facet) const |
| Returns a permutation that indicates precisely how this simplex is glued to the adjacent simplex across the given facet. More...
|
|
int | adjacentFacet (int facet) const |
| If the given facet of this simplex is glued to facet f of some adjacent simplex, then this routine returns the adjacent facet number f. More...
|
|
bool | hasBoundary () const |
| Determines if this simplex has any facets that lie on the triangulation boundary. More...
|
|
void | join (int myFacet, Simplex< dim > *you, Perm< dim+1 > gluing) |
| Joins the given facet of this simplex to some facet of another simplex. More...
|
|
Simplex< dim > * | unjoin (int myFacet) |
| Unglues the given facet of this simplex from whatever it is joined to. More...
|
|
void | isolate () |
| Unglues this simplex from any adjacent simplices. More...
|
|
Triangulation< dim > * | triangulation () const |
| Returns the triangulation to which this simplex belongs. More...
|
|
Component< dim > * | component () const |
| Returns the connected component of the triangulation to which this simplex belongs. More...
|
|
template<int subdim> |
Face< dim, subdim > * | face (int face) const |
| Returns the subdim-face of the underlying triangulation that appears as the given subdim-face of this simplex. More...
|
|
Face< dim, 1 > * | edge (int i, int j) const |
| Returns the edge of this simplex that connects the two given vertices of this simplex. More...
|
|
template<int subdim> |
Perm< dim+1 > | faceMapping (int face) const |
| Examines the given subdim-face of this simplex, and returns the mapping between the underlying subdim-face of the triangulation and the individual vertices of this simplex. More...
|
|
int | orientation () const |
| Returns the orientation of this simplex in the dim-dimensional triangulation. More...
|
|
bool | facetInMaximalForest (int facet) const |
| Determines whether the given facet of this simplex belongs to the maximal forest that has been chosen for the dual 1-skeleton of the underlying triangulation. More...
|
|
void | writeTextShort (std::ostream &out) const |
| Writes a short text representation of this object to the given output stream. More...
|
|
void | writeTextLong (std::ostream &out) const |
| Writes a detailed text representation of this object to the given output stream. More...
|
|
| SimplexBase (const SimplexBase &)=delete |
|
SimplexBase & | operator= (const SimplexBase &)=delete |
|
Edge< 2 > * | edge (int i, int j) const |
|
Edge< 3 > * | edge (int i, int j) const |
|
Edge< 4 > * | edge (int i, int j) const |
|
size_t | markedIndex () const |
| Returns the index at which this object is stored in an MarkedVector. More...
|
|
std::string | str () const |
| Returns a short text representation of this object. More...
|
|
std::string | utf8 () const |
| Returns a short text representation of this object using unicode characters. More...
|
|
std::string | detail () const |
| Returns a detailed text representation of this object. More...
|
|
|
| SimplexBase (Triangulation< dim > *tri) |
| Creates a new simplex with no description and no facets joined to anything. More...
|
|
| SimplexBase (const std::string &desc, Triangulation< dim > *tri) |
| Creates a new simplex with the given description and no facets joined to anything. More...
|
|
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 k ≤ subdim. 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...
|
|
void | clear () |
| Resets all face pointers to null. More...
|
|
template<int dim>
class regina::detail::SimplexBase< dim >
Helper class that provides core functionality for a top-dimensional simplex in a dim-manifold triangulation.
Each top-dimensional simplex is represented by the class Simplex<dim>, which uses this as a base class. End users should not need to refer to SimplexBase directly.
See the Simplex template class notes for further information, including details of how the vertices and facets of each simplex are numbered.
- Python:\n This base class is not present, but the "end user" class
- Simplex<dim> is.
- Template Parameters
-
dim | the dimension of the underlying triangulation. This must be between 2 and 15 inclusive. |