PostGIS
2.4.9dev-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 1310 of file lwgeodetic.c.
References distance(), FP_EQUALS, GEOGRAPHIC_POINT::lat, GEOGRAPHIC_POINT::lon, LW_FAILURE, and LW_SUCCESS.
Referenced by circ_center_spherical(), and test_sphere_project().