class csPoly2D The following class represents a general 2D polygon with a bounding box
The following class represents a general 2D polygon with a bounding box
int num_vertices
int max_vertices
csBox bbox
csPoly2D(int start_size = 10)
csPoly2D(csPoly2D& copy)
virtual ~csPoly2D()
void MakeEmpty()
int GetNumVertices()
csVector2* GetVertices()
csVector2* GetVertex(int i)
csVector2& operator[] (int i)
csVector2* GetFirst()
csVector2* GetLast()
void MakeRoom(int new_max)
void AddVertex(const csVector2& v)
void AddVertex(float x, float y)
void SetVertices(csVector2 *v, int num)
csBox& GetBoundingBox()
bool ClipAgainst(csClipper* view)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de