@ue-too/border / initialBearingOfGreatCircle
Function: initialBearingOfGreatCircle()
initialBearingOfGreatCircle(
startCoord,endCoord):number
Defined in: greateCircle.ts:112
Calculate the initial bearing between two points on the Earth's surface. (traveling along the great circle would result in different bearing from the start point to the end point)
Parameters
startCoord
The starting point in GeoCoord format.
endCoord
The ending point in GeoCoord format.
Returns
number
The bearing in degrees.