#include <nnormalsurfacelist.h>
Public Member Functions | |
SurfaceInserter () | |
Creates a new uninitialised output iterator. | |
SurfaceInserter (NNormalSurfaceList &newList, NTriangulation *newOwner) | |
Creates a new output iterator. | |
SurfaceInserter (const SurfaceInserter &cloneMe) | |
Creates a new output iterator that is a clone of the given iterator. | |
SurfaceInserter & | operator= (const SurfaceInserter &cloneMe) |
Sets this iterator to be a clone of the given output iterator. | |
SurfaceInserter & | operator= (NNormalSurface *surface) |
Appends a normal surface to the end of the appropriate surface list. | |
SurfaceInserter & | operator= (NNormalSurfaceVector *vector) |
Appends the normal surface corresponding to the given vector to the end of the appropriate surface list. | |
SurfaceInserter & | operator * () |
Returns a reference to this output iterator. | |
SurfaceInserter & | operator++ () |
Returns a reference to this output iterator. | |
SurfaceInserter & | operator++ (int) |
Returns a reference to this output iterator. | |
Public Attributes | |
NNormalSurfaceList * | list |
The list into which surfaces will be inserted. | |
NTriangulation * | owner |
The triangulation in which the surfaces to be inserted are contained. |
Objects of type NNormalSurface*
and NNormalSurfaceVector*
can be assigned to this iterator. In the latter case, a surrounding NNormalSurface will be automatically created.
Some basic checks may be performed before insertion; see the documentation for operator=(NNormalSurface*) and operator=(NNormalSurfaceVector*) for details.
|
Creates a new uninitialised output iterator.
|
|
Creates a new output iterator. The member variables of this iterator will be initialised according to the parameters passed to this constructor.
|
|
Creates a new output iterator that is a clone of the given iterator.
|
|
Returns a reference to this output iterator.
|
|
Returns a reference to this output iterator.
|
|
Returns a reference to this output iterator.
|
|
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. If the surface list allows almost normal surfaces, the vector will be checked for multiple octagonal discs. If multiple octagonal discs are found, the vector will be deleted immediately and no surface will be inserted.
|
|
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.
|
|
Sets this iterator to be a clone of the given output iterator.
|
|
The list into which surfaces will be inserted.
|
|
The triangulation in which the surfaces to be inserted are contained.
|