PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ to_rad()

static void to_rad ( POINT4D pt)
static

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