#include <nface.h>
Inheritance diagram for regina::NFace:
Public Member Functions | |
NFace (NComponent *myComponent) | |
Creates a new face and specifies it as belonging to the given triangulation component. | |
virtual | ~NFace () |
Default destructor. | |
bool | isBoundary () const |
Determines if this face lies entirely on the boundary of the triangulation. | |
int | getType () |
Returns a description of the face type. | |
int | getSubtype () |
Return the face vertex or face edge that plays a special role for the face type of this face. | |
bool | isMobiusBand () |
Determines whether this face is wrapped up to form a Mobius band. | |
bool | isCone () |
Determines whether this face is wrapped up to form a cone. | |
unsigned | getNumberOfEmbeddings () const |
Returns the number of descriptors available through getEmbedding(). | |
const NFaceEmbedding & | getEmbedding (unsigned index) const |
Returns the requested descriptor of how this face forms a part of a particular tetrahedron in the triangulation. | |
NComponent * | getComponent () const |
Returns the component of the triangulation to which this face belongs. | |
NBoundaryComponent * | getBoundaryComponent () const |
Returns the boundary component of the triangulation to which this face belongs. | |
NVertex * | getVertex (int vertex) const |
Returns the vertex in the triangulation skeleton corresponding to the given vertex of this face. | |
NEdge * | getEdge (int edge) const |
Returns the edge of the triangulation skeleton corresponding to the given edge of this face. | |
NPerm | getEdgeMapping (int edge) const |
The edge in the skeleton corresponding to the requested edge of this face is examined, and a permutation mapping vertices (0,1) of the skeleton edge to the corresponding vertices of this face is returned. | |
void | writeTextShort (std::ostream &out) const |
Writes this object in short text format to the given output stream. | |
Static Public Attributes | |
static const int | TRIANGLE |
Specifies a face with no identified vertices or edges. | |
static const int | SCARF |
Specifies a face with two identified vertices. | |
static const int | PARACHUTE |
Specifies a face with three identified vertices. | |
static const int | CONE |
Specifies a face with two edges identified to form a cone. | |
static const int | MOBIUS |
Specifies a face with two edges identified to form a mobius band. | |
static const int | HORN |
Specifies a face with two edges identified to form a cone with all three vertices identified. | |
static const int | DUNCEHAT |
Specifies a face with all three edges identified, some via orientable and some via non-orientable gluings. | |
static const int | L31 |
Specifies a face with all three edges identified using non-orientable gluings. | |
Friends | |
class | NTriangulation |
Allow access to private members. |
Faces are highly temporary; once a triangulation changes, all its face objects will be deleted and new ones will be created.
|
Creates a new face and specifies it as belonging to the given triangulation component.
|
|
Default destructor. All embedding descriptors stored in this face will be automatically deleted. |
|
Returns the boundary component of the triangulation to which this face belongs.
|
|
Returns the component of the triangulation to which this face belongs.
|
|
Returns the edge of the triangulation skeleton corresponding to the given edge of this face. Note that face vertex i is opposite face edge i.
|
|
The edge in the skeleton corresponding to the requested edge of this face is examined, and a permutation mapping vertices (0,1) of the skeleton edge to the corresponding vertices of this face is returned.
Thus for each The permutation returned will map 2 to the remaining face vertex (which will be parameter edge) and will map 3 to 3.
|
|
Returns the requested descriptor of how this face forms a part of a particular tetrahedron in the triangulation. Note that if this face represents multiple faces of a particular tetrahedron, there will be multiple embedding descriptors available regarding that tetrahedron.
|
|
Returns the number of descriptors available through getEmbedding().
|
|
Return the face vertex or face edge that plays a special role for the face type of this face. Note that this routine is only relevant for some face types. The face type is returned by getType().
|
|
Returns a description of the face type. The face type describes how the edges and vertices of the face are identified.
|
|
Returns the vertex in the triangulation skeleton corresponding to the given vertex of this face. Note that face vertex i is opposite face edge i.
|
|
Determines if this face lies entirely on the boundary of the triangulation.
|
|
Determines whether this face is wrapped up to form a cone. Note that several different face types (as returned by getType()) can produce this result. Note also that a face can be both a Mobius band and a cone.
|
|
Determines whether this face is wrapped up to form a Mobius band. Note that several different face types (as returned by getType()) can produce this result. Note also that a face can be both a Mobius band and a cone.
|
|
Writes this object in short text format to the given output stream. The output should fit on a single line and no newline should be written.
Implements regina::ShareableObject. |
|
Allow access to private members.
|
|
Specifies a face with two edges identified to form a cone.
|
|
Specifies a face with all three edges identified, some via orientable and some via non-orientable gluings.
|
|
Specifies a face with two edges identified to form a cone with all three vertices identified.
|
|
Specifies a face with all three edges identified using non-orientable gluings. Note that this forms a spine for the Lens space L(3,1). |
|
Specifies a face with two edges identified to form a mobius band.
|
|
Specifies a face with three identified vertices.
|
|
Specifies a face with two identified vertices.
|
|
Specifies a face with no identified vertices or edges.
|