#include <ndisc.h>
Inheritance diagram for regina::NDiscSetTet:
Public Member Functions | |
NDiscSetTet (const NNormalSurface &surface, unsigned long tetIndex) | |
Creates a new set of normal discs corresponding to the discs of the given normal surface that lie within the given tetrahedron. | |
virtual | ~NDiscSetTet () |
Destroys this disc set. | |
unsigned long | nDiscs (int type) const |
Determines the number of discs of the given type inside this tetrahedron. | |
unsigned long | arcFromDisc (int arcFace, int arcVertex, int discType, unsigned long discNumber) const |
Determines which normal arc of a given type on a given face of this tetrahedron corresponds to the given normal disc. | |
void | discFromArc (int arcFace, int arcVertex, unsigned long arcNumber, int &discType, unsigned long &discNumber) const |
Determines which normal disc in this tetrahedron meets the given normal arc on the given face. | |
Protected Attributes | |
unsigned long | internalNDiscs [10] |
The number of discs of each type. |
The numbers of discs of each type are stored in this structure, so querying them is fast regardless of the underlying normal surface coordinate system used.
unsigned long
. See the precondition below.This class should only be used with embedded normal surfaces.
unsigned long
.
|
Creates a new set of normal discs corresponding to the discs of the given normal surface that lie within the given tetrahedron.
|
|
Destroys this disc set.
|
|
Determines which normal arc of a given type on a given face of this tetrahedron corresponds to the given normal disc.
|
|
Determines which normal disc in this tetrahedron meets the given normal arc on the given face.
|
|
Determines the number of discs of the given type inside this tetrahedron.
|
|
The number of discs of each type.
|