Regina Calculation Engine
|
This class offers static routines for constructing a variety of sample dim-dimensional triangulations. More...
#include <triangulation/generic.h>
Static Public Member Functions | |
static Triangulation< dim > * | sphere () |
Closed Triangulations. More... | |
static Triangulation< dim > * | simplicialSphere () |
Returns the standard (dim+2)-simplex triangulation of the dim-sphere as the boundary of a (dim+1)-simplex. More... | |
static Triangulation< dim > * | sphereBundle () |
Returns a two-simplex triangulation of the product space S^(dim-1) x S^1 . More... | |
static Triangulation< dim > * | twistedSphereBundle () |
Returns a two-simplex triangulation of the twisted product space S^(dim-1) x~ S^1 . More... | |
static Triangulation< dim > * | ball () |
Bounded Triangulations. More... | |
static Triangulation< dim > * | ballBundle () |
Returns a triangulation of the product space B^(dim-1) x S^1 . More... | |
static Triangulation< dim > * | twistedBallBundle () |
Returns a triangulation of the twisted product space B^(dim-1) x~ S^1 . More... | |
This class offers static routines for constructing a variety of sample dim-dimensional triangulations.
These triangulations may be useful for testing new code, or for simply getting a feel for how Regina works.
In higher dimensions, only a handful of triangulations are available (in contrast to the 3-dimensional class Example<3>, which offers many interesting examples). The authors hope to expand this list in future releases of Regina.
The sample triangulations offered here may prove especially useful in Regina's scripting interface, where working with pre-existing files is more complicated than in the GUI.
All of the methods in this class will assign an appropriate packet label to the triangulation that they return.
Note that each of these routines constructs a new triangulation from scratch. It is up to the caller of each routine to destroy the triangulation that is returned.
For Regina's standard dimensions, this template is specialised and offers many more example triangulations. In order to use these specialised classes, you will need to include the corresponding headers (e.g., triangulation/example2.h for dim = 2, or triangulation/example3.h for dim = 3).
dim | the dimension of the example triangulations to construct. This must be between 2 and 15 inclusive. |