pi.h 158 B

12345678910
  1. #ifndef __PI_H__
  2. #define __PI_H__
  3. #include <grass/gis.h>
  4. #define Radians(x) ((x) * M_PI/180.0)
  5. #define Degrees(x) ((x) * 180.0/M_PI)
  6. #endif /* __PI_H__ */