GRASS GIS 8 Programmer's Manual 8.4.1(2025)-45ca3179ab
Loading...
Searching...
No Matches
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__ */