#include <Polygon.h>
Inheritance diagram for Polygon:
Public Member Functions | |
Polygon (SubPolygon **aSubPolygons, int aSubPolygonCount) | |
Constructor. | |
virtual | ~Polygon () |
Virtual destructor. | |
int | getSubPolygonCount () const |
Returns the amount of sub-polygons. | |
const SubPolygon & | getSubPolygon (int aIndex) const |
Returns a sub-polygon at given index. | |
Static Public Member Functions | |
static Polygon * | create (const PolygonData *aPolygonData) |
Static method for creating a polygon from the data. | |
Protected Attributes | |
int | mSubPolygonCount |
SubPolygon ** | mSubPolygons |
|
Constructor. Note that the ownership of the sub-polygon array is transferred. |
|
Virtual destructor.
|
|
Static method for creating a polygon from the data.
|
|
Returns a sub-polygon at given index.
|
|
Returns the amount of sub-polygons.
|
|
|
|
|