PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
Calculate a bearing (azimuth) given a source and destination point.
Calculate the bearing between two points on a spheroid.
r | - location of first point. |
s | - location of second point. |
spheroid | - spheroid definition. |
Definition at line 2156 of file lwgeodetic.c.
References FP_EQUALS, geographic_point_init(), lwpoint_get_x(), lwpoint_get_y(), NAN, r, s, and spheroid_direction().
Referenced by geography_azimuth().