PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ point_deg2rad()

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 54 of file cu_geodetic.c.

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

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

Referenced by point_set().

Here is the call graph for this function:
Here is the caller graph for this function: