|
PostGIS
3.1.6dev-r@@SVN_REVISION@@
|
| int spheroid_project | ( | const GEOGRAPHIC_POINT * | r, |
| const SPHEROID * | spheroid, | ||
| double | distance, | ||
| double | azimuth, | ||
| GEOGRAPHIC_POINT * | g | ||
| ) |
Given a location, an azimuth and a distance, computes the location of the projected point.
Using the direct geodesic problem from GeographicLib (Karney 2013).
| r | - location of first point |
| distance | - distance in meters |
| azimuth | - azimuth in radians |
Definition at line 128 of file lwspheroid.c.
References SPHEROID::a, distance(), SPHEROID::f, GEOGRAPHIC_POINT::lat, GEOGRAPHIC_POINT::lon, LW_SUCCESS, and r.
Referenced by lwgeom_project_spheroid().

