PostGIS  2.1.10dev-r@@SVN_REVISION@@
static void to_rad ( POINT4D pt)

convert decimal degress to radians

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

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

Referenced by point4d_transform().

22 {
23  pt->x *= M_PI/180.0;
24  pt->y *= M_PI/180.0;
25 }
double x
Definition: liblwgeom.h:308
double y
Definition: liblwgeom.h:308

Here is the caller graph for this function: