PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ to_dec()

static void to_dec ( POINT4D pt)

convert radians to decimal degress

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

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

Referenced by point4d_transform().

43 {
44  pt->x *= 180.0/M_PI;
45  pt->y *= 180.0/M_PI;
46 }
double x
Definition: liblwgeom.h:352
double y
Definition: liblwgeom.h:352
Here is the caller graph for this function: