PostGIS  2.5.7dev-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.

35 {
36  pt->x *= M_PI/180.0;
37  pt->y *= M_PI/180.0;
38 }
double x
Definition: liblwgeom.h:355
double y
Definition: liblwgeom.h:355

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

Referenced by point4d_transform().

Here is the caller graph for this function: