GRASS Programmer's Manual  6.4.2(2012)
pi.h
Go to the documentation of this file.
00001 #ifndef __PI_H__
00002 #define __PI_H__
00003 
00004 #include <grass/gis.h>
00005 
00006 #define Radians(x) ((x) * M_PI/180.0)
00007 #define Degrees(x) ((x) * 180.0/M_PI)
00008 
00009 #endif /* __PI_H__ */
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines