PostGIS  2.5.2dev-r@@SVN_REVISION@@

◆ edge_deg2rad()

static void edge_deg2rad ( GEOGRAPHIC_EDGE e)
static

Convert an edge from degrees to radians.

Definition at line 32 of file cu_geodetic.c.

References deg2rad, GEOGRAPHIC_EDGE::end, and GEOGRAPHIC_EDGE::start.

Referenced by edge_set().

33 {
34  (e->start).lat = deg2rad((e->start).lat);
35  (e->end).lat = deg2rad((e->end).lat);
36  (e->start).lon = deg2rad((e->start).lon);
37  (e->end).lon = deg2rad((e->end).lon);
38 }
GEOGRAPHIC_POINT start
Definition: lwgeodetic.h:63
GEOGRAPHIC_POINT end
Definition: lwgeodetic.h:64
#define deg2rad(d)
Conversion functions.
Definition: lwgeodetic.h:79
Here is the caller graph for this function: