An output iterator used to insert hypersurfaces into an NormalHypersurfaces.
More...
#include <hypersurface/normalhypersurfaces.h>
An output iterator used to insert hypersurfaces into an NormalHypersurfaces.
Objects of type NormalHypersurface*
and NormalHypersurfaceVector*
can be assigned to this iterator. In the latter case, a surrounding NormalHypersurface will be automatically created.
◆ HypersurfaceInserter() [1/2]
Creates a new output iterator.
The member variables of this iterator will be initialised according to the parameters passed to this constructor.
- Parameters
-
list | the list into which hypersurfaces will be inserted. |
owner | the triangulation in which the hypersurfaces to be inserted are contained. |
◆ HypersurfaceInserter() [2/2]
regina::NormalHypersurfaces::HypersurfaceInserter::HypersurfaceInserter |
( |
const HypersurfaceInserter & |
cloneMe | ) |
|
|
inline |
Creates a new output iterator that is a clone of the given iterator.
- Parameters
-
cloneMe | the output iterator to clone. |
◆ operator*()
Returns a reference to this output iterator.
- Returns
- this output iterator.
◆ operator++() [1/2]
Returns a reference to this output iterator.
- Returns
- this output iterator.
◆ operator++() [2/2]
Returns a reference to this output iterator.
- Returns
- this output iterator.
◆ operator=() [1/3]
Sets this iterator to be a clone of the given output iterator.
- Parameters
-
cloneMe | the output iterator to clone. |
- Returns
- this output iterator.
◆ operator=() [2/3]
Appends a normal hypersurface to the end of the appropriate surface list.
The given hypersurface will be deallocated with the other hypersurfaces in this list when the list is eventually destroyed.
- Parameters
-
hypersurface | the normal hypersurface to insert. |
- Returns
- this output iterator.
◆ operator=() [3/3]
Appends the normal hypersurface corresponding to the given vector to the end of the appropriate hypersurface list.
The given vector will be owned by the newly created normal hypersurface and will be deallocated with the other hypersurfaces in this list when the list is eventually destroyed.
- Parameters
-
vector | the vector of the normal hypersurface to insert. |
- Returns
- this output iterator.
◆ list_
The list into which hypersurfaces will be inserted.
◆ owner_
Triangulation<4>* regina::NormalHypersurfaces::HypersurfaceInserter::owner_ |
The triangulation in which the hypersurfaces to be inserted are contained.
The documentation for this struct was generated from the following file: