#include <2DHoledPolyBaseSet.h>
Inheritance diagram for C2DHoledPolyBaseSet:
Public Member Functions | |
C2DHoledPolyBaseSet (void) | |
Constructor. | |
void | AddCopy (const C2DHoledPolyBaseSet &Other) |
Adds a copy of the other pointer array. | |
void | MakeCopy (const C2DHoledPolyBaseSet &Other) |
Makes a copy of the other. | |
void | operator<< (C2DBaseSet &Other) |
Passes ONLY the pointers of this type from the Other into this. | |
void | Add (C2DHoledPolyBase *NewItem) |
Adds a new pointer and takes responsibility for it. | |
void | AddCopy (const C2DHoledPolyBase &NewItem) |
Adds a copy of the item given. | |
void | DeleteAndSet (int nIndx, C2DHoledPolyBase *NewItem) |
Deletes the current item and sets the pointer to be the new one. | |
C2DHoledPolyBase * | ExtractAndSet (int nIndx, C2DHoledPolyBase *NewItem) |
Extracts the current item and sets the pointer to be the new one. | |
C2DHoledPolyBase * | GetAt (int nIndx) |
Returns the value at the point given. | |
const C2DHoledPolyBase * | GetAt (int nIndx) const |
Returns the value at the point given. | |
C2DHoledPolyBase & | operator[] (int nIndx) |
Returns a reference to the value at the point given. | |
const C2DHoledPolyBase & | operator[] (int nIndx) const |
Returns a reference to the value at the point given. | |
C2DHoledPolyBase * | GetLast (void) |
Returns a pointer to the last item. | |
C2DHoledPolyBase * | ExtractAt (unsigned int nIndx) |
Extracts the pointer passing deletion responsibility over. | |
C2DHoledPolyBase * | ExtractLast (void) |
Extracts the pointer passing deletion responsibility over. | |
void | InsertAt (unsigned int nIndex, C2DHoledPolyBase *NewItem) |
Insertion. | |
void | InsertAt (unsigned int nIndex, C2DHoledPolyBaseSet &Other) |
Insertion of another array. | |
void | operator<< (C2DHoledPolyBaseSet &Other) |
Passes all the pointers from the Other into this. | |
void | operator<< (C2DHoledPolyBase *NewItem) |
Adds a new pointer and takes responsibility for it. | |
void | UnifyBasic (void) |
Basic multiple unification. | |
void | UnifyProgressive (CGrid::eDegenerateHandling eDegen=CGrid::None) |
Unification by growing shapes of fairly equal size (fastest for large groups). | |
void | AddAndUnify (C2DHoledPolyBase *pPoly) |
Assumes current set is distinct. | |
void | AddAndUnify (C2DHoledPolyBaseSet &pOther) |
Assumes both sets are distinct. | |
bool | AddIfUnify (C2DHoledPolyBase *pPoly) |
Assumes current set is distinct. | |
void | AddKnownHoles (C2DPolyBaseSet &pOther) |
Adds polygons known to be holes of those currently in the set. | |
unsigned int | GetLineCount (void) |
Total Line count for all polygons contained. | |
unsigned int | GetMinLineCount (void) |
Minimum line count of all polys. | |
void | operator<< (C2DPolyBaseSet &Other) |
Passes all the pointers from the Other into this. | |
void | operator<< (C2DPolyBase *NewItem) |
Adds a new pointer and takes responsibility for it. |
Class which represents a collection of holed polygons.
---------------------------------------------------------------------------
|
Constructor.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Assumes both sets are distinct.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Assumes current set is distinct.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Adds a copy of the other pointer array.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Assumes current set is distinct.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Adds polygons known to be holes of those currently in the set.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Total Line count for all polygons contained.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Minimum line count of all polys.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Makes a copy of the other.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Adds a new pointer and takes responsibility for it.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Passes all the pointers from the Other into this.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Passes ONLY the pointers of this type from the Other into this.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- Reimplemented from C2DBaseSet. |
|
Basic multiple unification.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Unification by growing shapes of fairly equal size (fastest for large groups).
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |