PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ to_rad()

static void to_rad ( POINT4D pt)
static

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:336
double y
Definition: liblwgeom.h:336
Here is the caller graph for this function: