class csPoly3D The following class represents a general 3D polygon
| | AddVertex (const csVector3& v) Add a vertex (3D) to the polygon |
| | AddVertex (float x, float y, float z) Add a vertex (3D) to the polygon |
| | csPoly3D (int start_size = 10) Make a new empty polygon |
| | csPoly3D (csPoly3D& copy) Copy constructor. |
| | GetFirst () Get the first vertex |
| | GetLast () Get the last vertex |
| | GetNumVertices () Get the number of vertices |
| | GetVertex (int i) Get the specified vertex |
| | GetVertices () Get the array with all vertices |
| | MakeEmpty () Initialize the polygon to empty |
| | MakeRoom (int new_max) Make room for at least the specified number of vertices |
| | operator[] (int i) Get the specified vertex |
| | SetNumVertices (int n) Set the number of vertices |
| | SetVertices (csVector3 *v, int num) Set all polygon vertices at once |
| | ~csPoly3D () Destructor. |
| | max_vertices |
| | num_vertices |
| | vertices The 3D vertices. |
The following class represents a general 3D polygon
int num_vertices
int max_vertices
csPoly3D(int start_size = 10)
csPoly3D(csPoly3D& copy)
virtual ~csPoly3D()
void MakeEmpty()
int GetNumVertices()
csVector3* GetVertices()
csVector3* GetVertex(int i)
csVector3& operator[] (int i)
csVector3* GetFirst()
csVector3* GetLast()
void MakeRoom(int new_max)
void SetNumVertices(int n)
void AddVertex(const csVector3& v)
void AddVertex(float x, float y, float z)
void SetVertices(csVector3 *v, int num)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de