PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
|
static |
Convert an edge from radians to degrees.
static void edge_rad2deg(GEOGRAPHIC_EDGE *e) { (e->start).lat = rad2deg((e->start).lat); (e->end).lat = rad2deg((e->end).lat); (e->start).lon = rad2deg((e->start).lon); (e->end).lon = rad2deg((e->end).lon); } Convert a point from degrees to radians.
Definition at line 54 of file cu_geodetic.c.
References deg2rad, GEOGRAPHIC_POINT::lat, latitude_radians_normalize(), GEOGRAPHIC_POINT::lon, and longitude_radians_normalize().
Referenced by point_set().