PostGIS  2.1.10dev-r@@SVN_REVISION@@
static void point_deg2rad ( GEOGRAPHIC_POINT p)
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 49 of file cu_geodetic.c.

References deg2rad, GEOGRAPHIC_POINT::lat, latitude_radians_normalize(), GEOGRAPHIC_POINT::lon, and longitude_radians_normalize().

Referenced by point_set().

50 {
53 }
double longitude_radians_normalize(double lon)
Convert a longitude to the range of -PI,PI.
Definition: lwgeodetic.c:27
double latitude_radians_normalize(double lat)
Convert a latitude to the range of -PI/2,PI/2.
Definition: lwgeodetic.c:55
#define deg2rad(d)
Conversion functions.
Definition: lwgeodetic.h:60

Here is the call graph for this function:

Here is the caller graph for this function: