1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277
|
/**************************************************************************
* *
* Regina - A Normal Surface Theory Calculator *
* Computational Engine *
* *
* Copyright (c) 1999-2011, Ben Burton *
* For further details contact Ben Burton (bab@debian.org). *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License as *
* published by the Free Software Foundation; either version 2 of the *
* License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, but *
* WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
* General Public License for more details. *
* *
* You should have received a copy of the GNU General Public *
* License along with this program; if not, write to the Free *
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, *
* MA 02110-1301, USA. *
* *
**************************************************************************/
/* end stub */
/*! \file triangulation/nexampletriangulation.h
* \brief Offers several example triangulations as starting points for
* testing code or getting used to Regina.
*/
#ifndef __NEXAMPLETRIANGULATION_H
#ifndef __DOXYGEN
#define __NEXAMPLETRIANGULATION_H
#endif
#include "regina-core.h"
namespace regina {
class NTriangulation;
/**
* \weakgroup triangulation
* @{
*/
/**
* This class offers routines for constructing sample triangulations of
* various types. These triangulations may be useful for testing new
* code, or for simply getting a feel for how Regina works.
*
* 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.
*
* 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.
*/
class REGINA_API NExampleTriangulation {
public:
/**
* \name Closed Triangulations
*/
/*@{*/
/**
* Returns a one-tetrahedron triangulation of the 3-sphere.
*
* @return a newly constructed triangulation, which must be
* destroyed by the caller of this routine.
*/
static NTriangulation* threeSphere();
/**
* Returns the two-tetrahedron triangulation of the 3-sphere
* that is dual to Bing's house with two rooms.
*
* @return a newly constructed triangulation, which must be
* destroyed by the caller of this routine.
*/
static NTriangulation* bingsHouse();
/**
* Returns a two-tetrahedron triangulation of the product space
* <tt>S^2 x S^1</tt>.
*
* @return a newly constructed triangulation, which must be
* destroyed by the caller of this routine.
*/
static NTriangulation* s2xs1();
/**
* Returns a three-tetrahedron triangulation of the non-orientable
* product space <tt>RP^2 x S^1</tt>.
*
* @return a newly constructed triangulation, which must be
* destroyed by the caller of this routine.
*/
static NTriangulation* rp2xs1();
/**
* Returns a triangulation of the connected sum
* <tt>RP^3 # RP^3</tt>.
*
* @return a newly constructed triangulation, which must be
* destroyed by the caller of this routine.
*/
static NTriangulation* rp3rp3();
/**
* Returns the minimal triangulation of the lens space
* <tt>L(8,3)</tt>.
*
* @return a newly constructed triangulation, which must be
* destroyed by the caller of this routine.
*/
static NTriangulation* lens8_3();
/**
* Returns the five-tetrahedron triangulation of the
* Poincare homology sphere.
*
* @return a newly constructed triangulation, which must be
* destroyed by the caller of this routine.
*/
static NTriangulation* poincareHomologySphere();
/**
* Returns a nine-tetrahedron minimal triangulation of the Weeks
* manifold. The Weeks manifold is the smallest-volume closed
* hyperbolic 3-manifold, with a volume of roughly 0.9427.
* Note that there are nine minimal triangulations of the Weeks
* manifold (of course this routine returns just one).
*
* @return a newly constructed triangulation, which must be
* destroyed by the caller of this routine.
*/
static NTriangulation* weeks();
/**
* Returns a one-vertex triangulation of the Weber-Seifert
* dodecahedral space.
*
* This 3-manifold is described in "Die beiden Dodekaederraume",
* C. Weber and H. Seifert, Math. Z. 37 (1933), no. 1, 237-253.
* The triangulation returned by this routine (with 23 tetrahedra)
* is given in "The Weber-Seifert dodecahedral space is non-Haken",
* Benjamin A. Burton, J. Hyam Rubinstein and Stephan Tillmann,
* Trans. Amer. Math. Soc. 364:2 (2012), pp. 911-932.
*
* @return a newly constructed triangulation, which must be
* destroyed by the caller of this routine.
*/
static NTriangulation* weberSeifert();
/**
* Returns a one-vertex triangulation of the Weber-Seifert
* dodecahedral space.
*
* \deprecated This routine is now called weberSeifert(),
* for consistency with Weber and Seifert's original paper.
* The old name seifertWeber() has been kept for backward
* compatibility, but will be removed in a future version of Regina.
*
* @return a newly constructed triangulation, which must be
* destroyed by the caller of this routine.
*/
static NTriangulation* seifertWeber();
/**
* Returns the nine-tetrahedron closed orientable hyperbolic
* 3-manifold with volume 0.94270736.
*
* @return a newly constructed triangulation, which must be
* destroyed by the caller of this routine.
*/
static NTriangulation* smallClosedOrblHyperbolic();
/**
* Returns the eleven-tetrahedron closed non-orientable hyperbolic
* 3-manifold with volume 2.02988321.
*
* @return a newly constructed triangulation, which must be
* destroyed by the caller of this routine.
*/
static NTriangulation* smallClosedNonOrblHyperbolic();
/*@}*/
/**
* (end: Closed Triangulations)
*/
/**
* \name Finite Bounded Triangulations
*/
/*@{*/
/**
* Returns the three-tetrahedron layered solid torus
* <tt>LST(3,4,7)</tt>.
*
* @return a newly constructed triangulation, which must be
* destroyed by the caller of this routine.
*/
static NTriangulation* lst3_4_7();
/**
* Returns a triangulation of the solid Klein bottle.
*
* @return a newly constructed triangulation, which must be
* destroyed by the caller of this routine.
*/
static NTriangulation* solidKleinBottle();
/*@}*/
/**
* (end: Finite Bounded Triangulations)
*/
/**
* \name Ideal Triangulations
*/
/*@{*/
/**
* Returns a two-tetrahedron ideal triangulation of the figure
* eight knot complement.
*
* @return a newly constructed triangulation, which must be
* destroyed by the caller of this routine.
*/
static NTriangulation* figureEightKnotComplement();
/**
* Returns a four-tetrahedron ideal triangulation of the
* Whitehead link complement.
*
* @return a newly constructed triangulation, which must be
* destroyed by the caller of this routine.
*/
static NTriangulation* whiteheadLinkComplement();
/**
* Returns the one-tetrahedron ideal triangulation of the
* non-orientable Gieseking manifold.
*
* @return a newly constructed triangulation, which must be
* destroyed by the caller of this routine.
*/
static NTriangulation* gieseking();
/**
* Returns a triangulation of a solid genus two torus with a
* cusped boundary. This triangulation has one internal finite
* vertex and one genus two ideal vertex.
*
* @return a newly constructed triangulation, which must be
* destroyed by the caller of this routine.
*/
static NTriangulation* cuspedGenusTwoTorus();
/*@}*/
/**
* (end: Ideal Triangulations)
*/
};
/*@}*/
} // namespace regina
#endif
|