#include <vect2.h>
Public Types | |
| typedef vect2_cart | cart |
| typedef vect2_pol | pol |
vect2 toto;
affectation de valeurs toto.cart.type = VECT2_CARTESIEN; toto.cart.x = 1; toto.cart.y = 3.586;
conversion en polaire, degrés vect2_to_pol(&toto, 360);
utilisation angle = toto.pol.teta; distance = toto.pol.u;
Definition at line 106 of file vect2.h.
|
|
|
|
|
|
1.4.5