Class Object
This class controls the object linked with the service. You can edit the shape, the colors and the textures of the object from the object.
Polygone Get_Polygone(int pos)
Parameters
| pos | The position of the polygone you want to get. It has to be between 0 and Nb_Polygones() |
Returns
Description
This function take a polygon from the object. The object returned is not a copy of the old polygon but a reference.
All modification to the returned Polygon will affect the polygon in the object where it comes from.
|
void Add_Polygone()
Parameters
Returns
Description
|
This function is not yet implemented.
|
void Del_Polygone(int pos)
Parameters
| pos | The position of the polygon to delete |
Returns
Description
|
This function deletes a polgon from the object.
|
long Nb_Polygones()
Parameters
Returns
| int | The number of polygons inside the object |
Description
|
This function returns the number of polygons inside the object.
|