PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ point_set()

static void point_set ( double  lon,
double  lat,
GEOGRAPHIC_POINT p 
)
static

Definition at line 356 of file cu_geodetic.c.

357 {
358  p->lon = lon;
359  p->lat = lat;
360  point_deg2rad(p);
361 }
static void point_deg2rad(GEOGRAPHIC_POINT *p)
Convert an edge from radians to degrees.
Definition: cu_geodetic.c:54

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

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

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