PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
int sphere_project | ( | const GEOGRAPHIC_POINT * | r, |
double | distance, | ||
double | azimuth, | ||
GEOGRAPHIC_POINT * | n | ||
) |
Given a starting location r, a distance and an azimuth to the new point, compute the location of the projected point on the unit sphere.
Definition at line 1314 of file lwgeodetic.c.
References distance(), FP_EQUALS, GEOGRAPHIC_POINT::lat, GEOGRAPHIC_POINT::lon, LW_FAILURE, LW_SUCCESS, and r.
Referenced by circ_center_spherical(), and test_sphere_project().