bearing is initial bearing
See original GitHub issueThe implementation of bearing
is about the initial bearing as from cited URL in the sources.
IMHO this should be explicitly mentioned in the API.
Maybe even implement final bearing as per above URL
For final bearing, simply take the initial bearing from the end point to the start point and reverse it (using θ = (θ+180) % 360).
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:9 (8 by maintainers)
Top Results From Across the Web
Can somebody explain to me the difference between initial ...
It means the direction you are walking in related to a map. When you look on a map and see you are at...
Read more >Bearing (angle) - Wikipedia
The bearing is expressed in terms of 2 characters and 1 number: first, the character is either N or S; next is the...
Read more >Derivation of initial bearing calculation - GIS Stack Exchange
I needed to make calculations of the initial bearing between two coordinates described in latitude/longitude. I have found one formulation ...
Read more >How to Calculate Bearings - mathsathome.com
In mathematics, a bearing is defined as an angle measured clockwise from north. Bearings are usually written as a three-figure bearing. For example,...
Read more >Initial bearing and final bearing. | Download Scientific Diagram
Initial bearing and final bearing. Source publication. FIG. 1: Our visualization at three ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think adding an additional param would work.
This picture was helpful figuring out the difference between intial bearing (29 Deg) & final bearing (150 Deg).
Proposed JSDocs
We can, since the repo is only 4 lines of code, it might be best to simply use
arc
as a dependency.