PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
double sphere_direction | ( | const GEOGRAPHIC_POINT * | s, |
const GEOGRAPHIC_POINT * | e, | ||
double | d | ||
) |
Given two points on a unit sphere, calculate the direction from s to e.
Definition at line 975 of file lwgeodetic.c.
References FP_EQUALS, FP_IS_ZERO, GEOGRAPHIC_POINT::lat, GEOGRAPHIC_POINT::lon, LWDEBUGF, and s.
Referenced by circ_center_spherical(), test_sphere_direction(), and test_sphere_project().