PostGIS  2.1.10dev-r@@SVN_REVISION@@
static void point_set ( double  lon,
double  lat,

Definition at line 336 of file cu_geodetic.c.

References GEOGRAPHIC_POINT::lat, GEOGRAPHIC_POINT::lon, and point_deg2rad().

Referenced by test_clairaut(), test_edge_distance_to_point(), and test_spheroid_distance().

337 {
338  p->lon = lon;
339  p->lat = lat;
340  point_deg2rad(p);
341 }
static void point_deg2rad(GEOGRAPHIC_POINT *p)
Convert an edge from radians to degrees.
Definition: cu_geodetic.c:49

Here is the call graph for this function:

Here is the caller graph for this function: