GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-cf81aadc39
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.

Macros

#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.