PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ to_dec()

static void to_dec ( POINT4D pt)

convert radians to decimal degress

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

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

Referenced by point4d_transform().

30 {
31  pt->x *= 180.0/M_PI;
32  pt->y *= 180.0/M_PI;
33 }
double x
Definition: liblwgeom.h:336
double y
Definition: liblwgeom.h:336
Here is the caller graph for this function: