GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
pi.h
Go to the documentation of this file.
1 #ifndef __PI_H__
2 #define __PI_H__
3 
4 #include <grass/gis.h>
5 
6 #define Radians(x) ((x) * M_PI/180.0)
7 #define Degrees(x) ((x) * 180.0/M_PI)
8 
9 #endif /* __PI_H__ */