Skip to content

KBE3D / KBCore / turf / bearingToAzimuth

函数: bearingToAzimuth()

bearingToAzimuth(bearing: number): number

Function

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

参数

bearing

number

angle, between -180 and +180 degrees

返回

number

angle between 0 and 360 degrees

KBE3D @3.0.0 Copyright © 2024-present KBE3D