@ue-too/border / index / initialBearingOfGreatCircle
関数: initialBearingOfGreatCircle()
initialBearingOfGreatCircle(
startCoord,endCoord):number
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)
パラメータ
startCoord
The starting point in GeoCoord format.
endCoord
The ending point in GeoCoord format.
戻り値
number
The bearing in degrees.