#include <nvertex.h>
Inheritance diagram for regina::NVertex:
Public Member Functions | |
NVertex (NComponent *myComponent) | |
Creates a new vertex and specifies it as belonging to the given triangulation component. | |
virtual | ~NVertex () |
Default destructor. | |
const std::vector< NVertexEmbedding > & | getEmbeddings () const |
Returns the list of descriptors of how this vertex forms a part of various tetrahedra in the triangulation. | |
unsigned long | getNumberOfEmbeddings () const |
Returns the number of descriptors in the list returned by getEmbeddings(). | |
const NVertexEmbedding & | getEmbedding (unsigned long index) const |
Returns the requested descriptor from the list returned by getEmbeddings(). | |
NComponent * | getComponent () const |
Returns the component of the triangulation to which this vertex belongs. | |
NBoundaryComponent * | getBoundaryComponent () const |
Returns the boundary component of the triangulation to which this vertex belongs. | |
unsigned long | getDegree () const |
Returns the degree of this vertex. | |
int | getLink () const |
Returns a description of the link of the vertex. | |
bool | isLinkClosed () const |
Determines if the link of this vertex is closed. | |
bool | isIdeal () const |
Determines if this vertex is an ideal vertex. | |
bool | isBoundary () const |
Determines if this vertex lies on the boundary of the triangulation. | |
bool | isStandard () const |
Determines if this vertex is standard. | |
bool | isLinkOrientable () const |
Determines if the vertex link is orientable. | |
long | getLinkEulerCharacteristic () const |
Returns the Euler characteristic of the vertex link. | |
void | writeTextShort (std::ostream &out) const |
Writes this object in short text format to the given output stream. | |
Static Public Attributes | |
const int | SPHERE |
Specifies a vertex link that is a sphere. | |
const int | DISC |
Specifies a vertex link that is a disc. | |
const int | TORUS |
Specifies a vertex link that is a torus. | |
const int | KLEIN_BOTTLE |
Specifies a vertex link that is a Klein bottle. | |
const int | NON_STANDARD_CUSP |
Specifies a vertex link that is closed and is not a sphere, torus or Klein bottle. | |
const int | NON_STANDARD_BDRY |
Specifies a vertex link that has boundary and is not a disc. |
Vertices are highly temporary; once a triangulation changes, all its vertex objects will be deleted and new ones will be created.
|
Creates a new vertex and specifies it as belonging to the given triangulation component.
|
|
Default destructor.
|
|
Returns the boundary component of the triangulation to which this vertex belongs. See the note in the NBoundaryComponent overview regarding what happens if the vertex link is a multiply punctured surface. Note that this makes the vertex non-standard and the triangulation invalid. An ideal vertex will have its own individual boundary component to which it belongs.
|
|
Returns the component of the triangulation to which this vertex belongs.
|
|
Returns the degree of this vertex. Note that this is identical to getNumberOfEmbeddings().
|
|
Returns the requested descriptor from the list returned by getEmbeddings().
|
|
Returns the list of descriptors of how this vertex forms a part of various tetrahedra in the triangulation. Note that if this vertex represents multiple vertices of a particular tetrahedron, there will be multiple embedding descriptors in the list regarding that tetrahedron.
|
|
Returns a description of the link of the vertex.
|
|
Returns the Euler characteristic of the vertex link.
|
|
Returns the number of descriptors in the list returned by getEmbeddings(). Note that this is identical to getDegree().
|
|
Determines if this vertex lies on the boundary of the triangulation. Ideal vertices are included as being on the boundary. In fact, the only vertices not considered as on the boundary are those whose links are spheres.
|
|
Determines if this vertex is an ideal vertex. This requires the vertex link to be closed and not a 2-sphere.
|
|
Determines if the link of this vertex is closed.
|
|
Determines if the vertex link is orientable.
|
|
Determines if this vertex is standard. This requires the vertex link to be a sphere, disc, torus or Klein bottle.
|
|
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. |
|
Specifies a vertex link that is a disc.
|
|
Specifies a vertex link that is a Klein bottle.
|
|
Specifies a vertex link that has boundary and is not a disc.
|
|
Specifies a vertex link that is closed and is not a sphere, torus or Klein bottle.
|
|
Specifies a vertex link that is a sphere.
|
|
Specifies a vertex link that is a torus.
|