Regina Calculation Engine
|
An output iterator used to insert surfaces into an NNormalSurfaceList. More...
#include <surfaces/nnormalsurfacelist.h>
Public Member Functions | |
SurfaceInserter (NNormalSurfaceList &newList, NTriangulation *newOwner) | |
Creates a new output iterator. More... | |
SurfaceInserter (const SurfaceInserter &cloneMe) | |
Creates a new output iterator that is a clone of the given iterator. More... | |
SurfaceInserter & | operator= (const SurfaceInserter &cloneMe) |
Sets this iterator to be a clone of the given output iterator. More... | |
SurfaceInserter & | operator= (NNormalSurface *surface) |
Appends a normal surface to the end of the appropriate surface list. More... | |
SurfaceInserter & | operator= (NNormalSurfaceVector *vector) |
Appends the normal surface corresponding to the given vector to the end of the appropriate surface list. More... | |
SurfaceInserter & | operator* () |
Returns a reference to this output iterator. More... | |
SurfaceInserter & | operator++ () |
Returns a reference to this output iterator. More... | |
SurfaceInserter & | operator++ (int) |
Returns a reference to this output iterator. More... | |
Public Attributes | |
NNormalSurfaceList * | list |
The list into which surfaces will be inserted. More... | |
NTriangulation * | owner |
The triangulation in which the surfaces to be inserted are contained. More... | |
An output iterator used to insert surfaces into an NNormalSurfaceList.
Objects of type NNormalSurface*
and NNormalSurfaceVector*
can be assigned to this iterator. In the latter case, a surrounding NNormalSurface will be automatically created.
|
inline |
Creates a new output iterator.
The member variables of this iterator will be initialised according to the parameters passed to this constructor.
newList | the list into which surfaces will be inserted. |
newOwner | the triangulation in which the surfaces to be inserted are contained. |
|
inline |
Creates a new output iterator that is a clone of the given iterator.
cloneMe | the output iterator to clone. |
|
inline |
Returns a reference to this output iterator.
|
inline |
Returns a reference to this output iterator.
|
inline |
Returns a reference to this output iterator.
|
inline |
Sets this iterator to be a clone of the given output iterator.
cloneMe | the output iterator to clone. |
|
inline |
Appends a normal surface to the end of the appropriate surface list.
The given surface will be deallocated with the other surfaces in this list when the list is eventually destroyed.
surface | the normal surface to insert. |
|
inline |
Appends the normal surface corresponding to the given vector to the end of the appropriate surface list.
The given vector will be owned by the newly created normal surface and will be deallocated with the other surfaces in this list when the list is eventually destroyed.
vector | the vector of the normal surface to insert. |
NNormalSurfaceList* regina::NNormalSurfaceList::SurfaceInserter::list |
The list into which surfaces will be inserted.
NTriangulation* regina::NNormalSurfaceList::SurfaceInserter::owner |
The triangulation in which the surfaces to be inserted are contained.