Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csPolygonIntArray Class Reference

An array of csPolygonInt pointers. More...

#include <polyint.h>

List of all members.

Public Methods

 csPolygonIntArray ()
 Constructor. Initialize empty array.

 ~csPolygonIntArray ()
 Destructor. More...

void Reset ()
 Reset the array to empty.

void AddPolygon (csPolygonInt *polygon)
 Add a polygon.

csPolygonIntGetPolygon (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...


Detailed Description

An array of csPolygonInt pointers.


Constructor & Destructor Documentation

csPolygonIntArray::~csPolygonIntArray ( )
 

Destructor.

The list of polygons is removed but NOT the polygons themselves.


Member Function Documentation

void csPolygonIntArray::SetPolygonCount ( int n ) [inline]
 

Set number of polygons (i.e.

truncate list). The new number of polygons cannot be greater than the current number of polygons.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000