Skip to content
Select language:English

MCL 1.3.5

fun bearing(from: Coord2D, to: Coord2D): Double

Calculates the bearing (direction) between two sets of coordinates.

Return

The bearing in degrees

Parameters

from

The starting location.

to

The target location.