#include <polyint.h>
Public Methods | |
| csPolygonIntArray () | |
| Constructor. Initialize empty array. | |
| ~csPolygonIntArray () | |
| Destructor. More... | |
| void | Reset () |
| Reset the array to empty. | |
| void | AddPolygon (csPolygonInt *polygon) |
| Add a polygon. | |
| csPolygonInt* | GetPolygon (int idx) |
| Get polygon. | |
| csPolygonInt** | GetPolygons () |
| Get polygons. | |
| int | GetPolygonCount () |
| Get number of polygons. | |
| void | SetPolygonCount (int n) |
| Set number of polygons (i.e. More... | |
|
|
Destructor. The list of polygons is removed but NOT the polygons themselves. |
|
|
Set number of polygons (i.e. truncate list). The new number of polygons cannot be greater than the current number of polygons. |