PostGIS
3.0.6dev-r@@SVN_REVISION@@
|
double spheroid_direction | ( | const GEOGRAPHIC_POINT * | a, |
const GEOGRAPHIC_POINT * | b, | ||
const SPHEROID * | spheroid | ||
) |
Computes the forward azimuth of the geodesic joining two points on the spheroid, using the inverse geodesic problem (Karney 2013).
r | - location of first point |
s | - location of second point |
Definition at line 105 of file lwspheroid.c.
References SPHEROID::a, SPHEROID::f, GEOGRAPHIC_POINT::lat, and GEOGRAPHIC_POINT::lon.
Referenced by lwgeom_azumith_spheroid().