GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-5c00b4e944
pi.h File Reference
#include <grass/gis.h>
Include dependency graph for pi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define Radians(x)   ((x) * M_PI/180.0)
#define Degrees(x)   ((x) * 180.0/M_PI)

Macro Definition Documentation

◆ Degrees

#define Degrees (   x)    ((x) * 180.0/M_PI)

Definition at line 7 of file pi.h.

◆ Radians

#define Radians (   x)    ((x) * M_PI/180.0)

Definition at line 6 of file pi.h.