Skip to content
v0.19 のドキュメントを表示しています。最新バージョンは v0.20 です。 最新のドキュメントへ

@ue-too/border / index / initialBearingOfGreatCircle

関数: initialBearingOfGreatCircle() ​

initialBearingOfGreatCircle(startCoord, endCoord): number

定義: 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)

パラメータ ​

startCoord ​

GeoCoord

The starting point in GeoCoord format.

endCoord ​

GeoCoord

The ending point in GeoCoord format.

戻り値 ​

number

The bearing in degrees.