PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ to_dec()

static void to_dec ( POINT4D pt)
static

convert radians to decimal degress

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

42 {
43  pt->x *= 180.0/M_PI;
44  pt->y *= 180.0/M_PI;
45 }
double x
Definition: liblwgeom.h:414
double y
Definition: liblwgeom.h:414

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

Referenced by ptarray_transform().

Here is the caller graph for this function: