Trigonomectric constants Polar and spherical to rectangular coordinates transform
Dependents: DISCO-F746NG_Lidar ZAILLEL_Interface
Trigo.h
- Committer:
- cromda
- Date:
- 2012-11-25
- Revision:
- 0:2f533ad7c611
- Child:
- 1:eb028056d162
File content as of revision 0:2f533ad7c611:
#ifndef MBED_TRIGO_H #define MBED_TRIGO_H const float Pi=3.141592653590; const float Pis2=Pi/2.0; const float DeuxPi=2.0*Pi; const float degre=Pi/180.0; void RecPol(float x, float y, float *r, float *a); void PolRec(float r, float a, float *x, float *y); void RecSph(float x, float y, float z, float *r, float *a, float *b); void SphRec(float r, float a, float b, float *x, float *y, float *z); #endif