PostGIS
3.4.0dev-r@@SVN_REVISION@@
|
Calculate a bearing (azimuth) given a source and destination point.
Calculate the bearing between two points on a spheroid.
https://accesd.desjardins.ca/coast*
r | - location of first point. |
s | - location of second point. |
spheroid | - spheroid definition. |
Definition at line 2170 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(), and lwgeom_project_spheroid_lwpoint().