PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ to_rad()

static void to_rad ( POINT4D pt)
static

convert decimal degrees to radians

Definition at line 33 of file liblwgeom/lwgeom_transform.c.

34{
35 pt->x *= M_PI/180.0;
36 pt->y *= M_PI/180.0;
37}
double x
Definition liblwgeom.h:414
double y
Definition liblwgeom.h:414

References POINT4D::x, and POINT4D::y.

Referenced by ptarray_transform().

Here is the caller graph for this function: