PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ to_dec()

static void to_dec ( POINT4D pt)
static

convert radians to decimal degress

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

43 {
44  pt->x *= 180.0/M_PI;
45  pt->y *= 180.0/M_PI;
46 }
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: