GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-36359e2344
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__ */