#include <ndisc.h>
Inheritance diagram for regina::NDiscSetSurface:
Public Member Functions | |
NDiscSetSurface (const NNormalSurface &surface) | |
Creates a new disc set corresponding to the discs of the given normal surface. | |
virtual | ~NDiscSetSurface () |
Destroys this set of discs and deallocates all associated memory. | |
unsigned long | nTets () const |
Returns the number of tetrahedra in the underlying triangulation. | |
unsigned long | nDiscs (unsigned long tetIndex, int type) const |
Determines the number of discs of the given type inside the given tetrahedron. | |
NDiscSetTet & | tetDiscs (unsigned long tetIndex) const |
Returns the specific set of discs living inside the given tetrahedron. | |
NDiscSpec * | adjacentDisc (const NDiscSpec &disc, NPerm arc, NPerm &adjArc) const |
Determines which normal disc is adjacent to the given normal disc along the given directed normal arc in the surface described by this disc set. | |
Protected Member Functions | |
NDiscSetSurface (const NNormalSurface &surface, bool b) | |
Creates a new disc set corresponding to the discs of the given normal surface. | |
Protected Attributes | |
NDiscSetTet ** | discSets |
The disc sets corresponding to each tetrahedron. | |
NTriangulation * | triangulation |
The triangulation in which the normal surface lives. |
These are stored as an array of NDiscSetTet objects, one for each tetrahedron.
unsigned long
. See the precondition below.This class should only be used with embedded normal surfaces.
|
Creates a new disc set corresponding to the discs of the given normal surface. The array of tetrahedron disc set pointers will be created but the NDiscSetTet objects themselves will not be created. This constructor should be called from constructors of subclasses who wish to use objects of a subclass of NDiscSetTet, which this constructor allows them to create for themselves.
|
|
Creates a new disc set corresponding to the discs of the given normal surface.
|
|
Destroys this set of discs and deallocates all associated memory.
|
|
Determines which normal disc is adjacent to the given normal disc along the given directed normal arc in the surface described by this disc set.
A directed normal arc will be specified by a permutation p, where the arc runs around vertex
|
|
Determines the number of discs of the given type inside the given tetrahedron.
|
|
Returns the number of tetrahedra in the underlying triangulation.
|
|
Returns the specific set of discs living inside the given tetrahedron.
|
|
The disc sets corresponding to each tetrahedron.
|
|
The triangulation in which the normal surface lives.
|