PostGIS  2.5.0dev-r@@SVN_REVISION@@

◆ to_rad()

static void to_rad ( POINT4D pt)

convert decimal degress to radians

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

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

Referenced by point4d_transform().

35 {
36  pt->x *= M_PI/180.0;
37  pt->y *= M_PI/180.0;
38 }
double x
Definition: liblwgeom.h:354
double y
Definition: liblwgeom.h:354
Here is the caller graph for this function: