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

Referenced by G_rhumbline_lat_from_lon().

◆ Radians

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