GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
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__ */