#include <2DHoledPolyArc.h>
Inheritance diagram for C2DHoledPolyArc:

Public Member Functions | |
| C2DHoledPolyArc (void) | |
| Constructor. | |
| C2DHoledPolyArc (const C2DHoledPolyBase &Other) | |
| Constructor. | |
| C2DHoledPolyArc (const C2DHoledPolyArc &Other) | |
| Constructor. | |
| ~C2DHoledPolyArc (void) | |
| Destructor. | |
| void | SetRim (const C2DPolyArc &Polygon) |
| Sets the rim to a copy of the polygon given. | |
| void | AddHole (const C2DPolyArc &Polygon) |
| Adds a copy of the polygon given. | |
| void | SetHole (const C2DPolyArc &Polygon, unsigned short usIndex) |
| Sets the holes to be a copy of the polygon given. | |
| void | SetRimDirect (C2DPolyArc *Polygon) |
| Sets the rim to be the polygon provided. Will delete on destruction. | |
| void | AddHoleDirect (C2DPolyArc *Polygon) |
| Adds the hole provided. Will delete on destruction. | |
| void | SetHoleDirect (C2DPolyArc *Polygon, unsigned short usIndex) |
| Sets the hole to be the polygon provided. Will delete on destruction. Deletes old one. | |
| void | RemoveHole (unsigned short usIndex) |
| Removes the hole at the index given. | |
| C2DPolyArc * | GetRim (void) |
| Returns the rim. | |
| const C2DPolyArc * | GetRim (void) const |
| Returns the rim. | |
| C2DPolyArc * | ExtractRim (void) |
| Extracts the rim. Deletion of the rim needs to be managed elsewhere. | |
| C2DPolyArc * | GetHole (unsigned short usIndex) |
| Returns a pointer to the hole specified. | |
| const C2DPolyArc * | GetHole (unsigned short usIndex) const |
| Returns a pointer to the hole specified. | |
| C2DPolyArc * | ExtractHole (unsigned short usIndex) |
| Extracts the hole. Deletion of the hole needs to be managed elsewhere. | |
| double | GetArea (void) const |
| Returns the area. | |
| C2DPoint | GetCentroid (void) const |
| Returns the centroid. | |
| void | GetOverlaps (const C2DHoledPolyArc &Other, C2DHoledPolyArcSet &HoledPolys, CGrid::eDegenerateHandling eDegen=CGrid::None) const |
| Returns the overlaps between this and the other complex polygon. | |
| void | GetOverlaps (const C2DHoledPolyArc &Other, C2DHoledPolyBaseSet &HoledPolys, CGrid::eDegenerateHandling eDegen=CGrid::None) const |
| Returns the overlaps between this and the other complex polygon. | |
| void | GetNonOverlaps (const C2DHoledPolyArc &Other, C2DHoledPolyArcSet &HoledPolys, CGrid::eDegenerateHandling eDegen=CGrid::None) const |
| Returns the difference between this and the other polygon. | |
| void | GetNonOverlaps (const C2DHoledPolyArc &Other, C2DHoledPolyBaseSet &HoledPolys, CGrid::eDegenerateHandling eDegen=CGrid::None) const |
| Returns the difference between this and the other polygon. | |
| void | GetUnion (const C2DHoledPolyArc &Other, C2DHoledPolyArcSet &HoledPolys, CGrid::eDegenerateHandling eDegen=CGrid::None) const |
| Returns the union of this and the other. | |
| void | GetUnion (const C2DHoledPolyArc &Other, C2DHoledPolyBaseSet &HoledPolys, CGrid::eDegenerateHandling eDegen=CGrid::None) const |
| Returns the union of this and the other. | |
Class which represents a curved polygon with holes. Simply consists of a set of simple curved polygons (without holes) representing the rim and the holes.
---------------------------------------------------------------------------
|
|
Constructor.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
|
Constructor.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
|
Constructor.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
|
Destructor.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
|
Adds a copy of the polygon given.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
|
Adds the hole provided. Will delete on destruction.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
|
Extracts the hole. Deletion of the hole needs to be managed elsewhere.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
|
Extracts the rim. Deletion of the rim needs to be managed elsewhere.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- Reimplemented from C2DHoledPolyBase. |
|
|
Returns the area.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
|
Returns the centroid.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
|
Returns a pointer to the hole specified.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
|
Returns a pointer to the hole specified.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
||||||||||||||||
|
Returns the difference between this and the other polygon.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
||||||||||||||||
|
Returns the difference between this and the other polygon.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
||||||||||||||||
|
Returns the overlaps between this and the other complex polygon.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
||||||||||||||||
|
Returns the overlaps between this and the other complex polygon.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
|
Returns the rim.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- Reimplemented from C2DHoledPolyBase. |
|
|
Returns the rim.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- Reimplemented from C2DHoledPolyBase. |
|
||||||||||||||||
|
Returns the union of this and the other.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
||||||||||||||||
|
Returns the union of this and the other.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
|
Removes the hole at the index given.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
||||||||||||
|
Sets the holes to be a copy of the polygon given.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
||||||||||||
|
Sets the hole to be the polygon provided. Will delete on destruction. Deletes old one.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
|
Sets the rim to a copy of the polygon given.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
|
|
Sets the rim to be the polygon provided. Will delete on destruction.
-------------------------------------------------------------------------- --------------------------------------------------------------------------- |
1.4.4