An output iterator used to insert angle structures into an NAngleStructureList.
More...
#include <angle/nanglestructurelist.h>
An output iterator used to insert angle structures into an NAngleStructureList.
Objects of type NAngleStructure*
and NAngleStructureVector*
can be assigned to this iterator. In the latter case, a surrounding NAngleStructure will be automatically created.
regina::NAngleStructureList::StructureInserter::StructureInserter |
( |
| ) |
|
|
inline |
Creates a new uninitialised output iterator.
- Warning
- This iterator must not be used until its structure list and triangulation have been initialised.
Creates a new output iterator.
The member variables of this iterator will be initialised according to the parameters passed to this constructor.
- Parameters
-
newList | the list into which angle structures will be inserted. |
newOwner | the triangulation on which the structures to be inserted lie. |
regina::NAngleStructureList::StructureInserter::StructureInserter |
( |
const StructureInserter & |
cloneMe | ) |
|
|
inline |
Creates a new output iterator that is a clone of the given iterator.
- Parameters
-
cloneMe | the output iterator to clone. |
Returns a reference to this output iterator.
- Returns
- this output iterator.
Returns a reference to this output iterator.
- Returns
- this output iterator.
Returns a reference to this output iterator.
- Returns
- this output iterator.
Sets this iterator to be a clone of the given output iterator.
- Parameters
-
cloneMe | the output iterator to clone. |
- Returns
- this output iterator.
Appends an angle structure to the end of the appropriate structure list.
The given angle structure will be deallocated with the other angle structures in this list when the list is eventually destroyed.
- Parameters
-
structure | the angle structure to insert. |
- Returns
- this output iterator.
Appends the angle structure corresponding to the given vector to the end of the appropriate structure list.
The given vector will be owned by the newly created angle structure and will be deallocated with the other angle structures in this list when the list is eventually destroyed.
- Parameters
-
vector | the vector of the angle structure to insert. |
- Returns
- this output iterator.
The list into which angle structures will be inserted.
The triangulation on which the angle structures to be inserted lie.
The documentation for this struct was generated from the following file: