T
for every normal disc within a particular normal surface.
More...
#include <ndisc.h>
Inheritance diagram for regina::NDiscSetSurfaceData< T >:
Public Member Functions | |
NDiscSetSurfaceData (const NNormalSurface &surface) | |
Creates a new disc set corresponding to the discs of the given normal surface. | |
NDiscSetSurfaceData (const NNormalSurface &surface, const T &initValue) | |
Creates a new disc set corresponding to the discs of the given normal surface. | |
T & | data (const NDiscSpec &disc) |
Retrieves a reference to the data corresponding to the given normal disc. |
T
for every normal disc within a particular normal surface.
This data is stored using an array of NDiscSetTetData<T> objects, one for each tetrahedron (thus the inherited member function tetDiscs() will return an object of class NDiscSetTetData<T>).
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
.
|
Creates a new disc set corresponding to the discs of the given normal surface. The data for each disc will remain uninitialised.
|
|
Creates a new disc set corresponding to the discs of the given normal surface. The data for each disc will be initialised to the given value.
|
|
Retrieves a reference to the data corresponding to the given normal disc.
|