T
for every normal disc inside a single tetrahedron.
More...
#include <ndisc.h>
Inheritance diagram for regina::NDiscSetTetData< T >:
Public Types | |
typedef T * | DataPtr |
A type that is a pointer to the data stored with each disc. | |
Public Member Functions | |
NDiscSetTetData (const NNormalSurface &surface, unsigned long tetIndex) | |
Creates a new disc set corresponding to the discs of the given normal surface that lie within the given tetrahedron. | |
NDiscSetTetData (const NNormalSurface &surface, unsigned long tetIndex, const T &initValue) | |
Creates a new disc set corresponding to the discs of the given normal surface that lie within the given tetrahedron. | |
virtual | ~NDiscSetTetData () |
Destroys this disc set and deallocates all data arrays. | |
T & | data (int discType, unsigned long discNumber) |
Retrieves a reference to the data corresponding to the given normal disc. | |
Protected Attributes | |
DataPtr | internalData [10] |
Stores the data corresponding to each normal disc. |
T
for every normal disc inside a single tetrahedron.
unsigned long
. See the precondition below.This class should only be used with embedded normal surfaces.
Type T has a default constructor and an assignment operator. That is, if a
and b
are of type T, then a
can be declared with no parameters and can then receive the value of b
using a=b
.
|
A type that is a pointer to the data stored with each disc.
|
|
Creates a new disc set corresponding to the discs of the given normal surface that lie within the given tetrahedron. The data for each disc will remain uninitialised.
|
|
Creates a new disc set corresponding to the discs of the given normal surface that lie within the given tetrahedron. The data for each disc will be initialised to the given value.
|
|
Destroys this disc set and deallocates all data arrays.
Note that no assumption is made about type |
|
Retrieves a reference to the data corresponding to the given normal disc.
|
|
Stores the data corresponding to each normal disc.
|