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

◆ to_rad()

static void to_rad ( POINT4D pt)
static

convert decimal degress 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:400
double y
Definition liblwgeom.h:400

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

Referenced by ptarray_transform().

Here is the caller graph for this function: