Defines

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.

Defines

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

Define Documentation

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

Definition at line 7 of file pi.h.

Referenced by G_geodesic_lat_from_lon(), and G_rhumbline_lat_from_lon().

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