next up previous contents index
Next: Collision detection Up: Description of a scene Previous: Trajectories

Deleting a scene

The function int p3d_del_desc(int type)   deletes the current element of type type. The function p3d_del_desc calls the functions int p3d_del_obst(pp3d_obj o), int p3d_del_rob(pp3d_rob r), int p3d_del_traj(pp3d_trj t), or int p3d_del_env(pp3d _env e) regarding the type of the element the user wants to delete.

The function int p3d_del_traj(pp3d_trj t)   liberates the trajectory t, the elementary curves of t and actualizes the array of trajectories of the robot corresponding to t.

The function int p3d_del_obst(pp3d_obj o)   liberates the object o, the polyhedrons of o (with the function p3d_poly_del_poly) and modifies the current obstacle if this one was o).

The function int p3d_del_rob(pp3d_rob r)   liberates the robot r, its joints, its bodies, its trajectories, its initial and final configuration, actualizes the array of robots of the environment and modifies the current robot if this one was r.

The function int p3d_del_env(pp3d_env e)   liberates the environment e, liberates all its obstacles and robots and actualizes the array of environments of the Move3D sessions.

The function int p3d_poly_del_poly(p3d_poly *p)   liberates the polyhedron p and actualizes the set of poyhedrons of the scene.



Nicola Simeon
Fri Oct 27 09:07:38 MET DST 2000