#include <2DLineBaseSet.h>
Inheritance diagram for C2DLineBaseSet:
Public Member Functions | |
C2DLineBaseSet (void) | |
Constructor. | |
~C2DLineBaseSet (void) | |
Destructor. | |
void | AddCopy (const C2DLineBaseSet &Other) |
Adds a copy of the other pointer array. | |
void | MakeCopy (const C2DLineBaseSet &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 (C2DLineBase *NewItem) |
Adds a new pointer and takes responsibility for it. | |
void | AddCopy (const C2DLineBase &NewItem) |
Adds a copy of the item given. | |
void | DeleteAndSet (int nIndx, C2DLineBase *NewItem) |
Deletes the current item and sets the pointer to be the new one. | |
C2DLineBase * | ExtractAndSet (int nIndx, C2DLineBase *NewItem) |
Extracts the current item and sets the pointer to be the new one. | |
C2DLineBase * | GetAt (int nIndx) |
Returns the value at the point given. | |
const C2DLineBase * | GetAt (int nIndx) const |
Returns the value at the point given. | |
C2DLineBase & | operator[] (int nIndx) |
Returns a reference to the value at the point given. | |
const C2DLineBase & | operator[] (int nIndx) const |
Returns a reference to the value at the point given. | |
C2DLineBase * | GetLast (void) |
Returns a pointer to the last item. | |
C2DLineBase * | ExtractAt (unsigned int nIndx) |
Extracts the pointer passing deletion responsibility over. | |
C2DLineBase * | ExtractLast (void) |
Extracts the pointer passing deletion responsibility over. | |
void | InsertAt (unsigned int nIndex, C2DLineBase *NewItem) |
Insertion. | |
void | InsertAt (unsigned int nIndex, C2DLineBaseSet &Other) |
Insertion of another array. | |
void | operator<< (C2DLineBaseSet &Other) |
Passes all the pointers from the Other into this. | |
void | operator<< (C2DLineBase *NewItem) |
Adds a new pointer and takes responsibility for it. | |
void | GetIntersections (C2DPointSet *pPoints, CIndexSet *pIndexes1=0, CIndexSet *pIndexes2=0) const |
Calls base class. | |
void | GetIntersections (const C2DLineBaseSet &Other, C2DPointSet *pPoints, CIndexSet *pIndexesThis=0, CIndexSet *pIndexesOther=0, const C2DRect *pBoundingRectThis=0, const C2DRect *pBoundingRectOther=0) const |
Calls base class. | |
bool | HasCrossingLines (void) const |
True if there are crossing lines in the set. | |
bool | IsClosed (bool bEndsOnly=true) const |
Checks for closure i.e. it forms a closed shape. | |
bool | AddIfCommonEnd (C2DLineBaseSet &Other) |
Adds the other to this if there is a common end i.e. they can be joined up. | |
void | Remove0Lines (double dTolerance) |
Removes lines that are small, based on the tolerance. | |
void | ReverseDirection (void) |
Reverses the direction. |
---------------------------------------------------------------------------
|
Constructor.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Destructor.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Adds a copy of the item given.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Adds a copy of the other pointer array.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Adds the other to this if there is a common end i.e. they can be joined up.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Calls base class.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Calls base class.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
True if there are crossing lines in the set.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Checks for closure i.e. it forms a closed shape.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Makes a copy of the other.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Passes ONLY the pointers of this type from the Other into this.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- Reimplemented from C2DBaseSet. |
|
Removes lines that are small, based on the tolerance.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
Reverses the direction.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |