module

Geo::Bearing

Constants

VERSION = {{ (`shards version /tmp/tmp.BLBodF/src/src`).chomp.stringify }}

Class methods

bearing(from_lat : Number, from_lng : Number, to_lat : Number, to_lng : Number, final = false) : Float64

The formula used for calculating the initial bearing between two points on the Earth's surfaceis is derived from the broader concepts of great-circle distance and navigation on a spherical Earth model. https://en.wikipedia.org/wiki/Great-circle_distance

https://github.com/Turfjs/turf/blob/master/packages/turf-bearing/index.ts

Source
degrees_to_radians(degrees : Number) : Float64
Source
radians_to_degrees(radians : Number) : Float64
Source