Regina Calculation Engine
|
Internal class used to perform Pachner moves on a triangulation. More...
#include <triangulation/detail/triangulation.h>
Static Public Member Functions | |
static bool | pachner (Triangulation< dim > *tri, Face< dim, k > *f, bool check, bool perform) |
Performs a (dim - k + 1)-(k + 1) move about the given face. More... | |
Internal class used to perform Pachner moves on a triangulation.
Specifically, this class performs (dim - k + 1)-(k + 1) moves about k-faces of dim-dimensional triangulations.
Pachner moves are implemented in a separate class (i.e., this class) instead of TriangulationBase because we wish to offer specialised implementations for certain facial dimensions k, and C++ does not allow partial specialisation of functions.
dim | the dimension of the underlying triangulation. |
k | the dimension of the faces about which to perform Pachner moves. |
|
static |
Performs a (dim - k + 1)-(k + 1) move about the given face.
This routine contains the real implementation of TriangulationBase::pachner<k>(); see that routine for further details.
tri | the triangulation upon which to perform the Pachner move. |
f | the specific k-face about which to perform the move. |
check | true if the move should be tested for eligibility. |
perform | true if the move should actually be performed. |
true
, this function returns true
if and only if the requested move may be performed without changing the topology of the manifold. If check is false
, this function simply returns true
.