Skip to content

KBE3D / KBCore / turf / azimuthToBearing

函数: azimuthToBearing()

azimuthToBearing(angle: number): number

Function

Converts any azimuth angle from the north line direction (positive clockwise) and returns an angle between -180 and +180 degrees (positive clockwise), 0 being the north line

参数

angle

number

between 0 and 360 degrees

返回

number

bearing between -180 and +180 degrees

KBE3D @3.0.0 Copyright © 2024-present KBE3D