Skip to content

Is haversine_bearing supposed to return -180 to 180? #1225

Answered by michaelkirk
kingkong-cmd asked this question in Q&A
Discussion options

You must be logged in to vote

Timely! I just merged #1216 2 days ago.

It hasn't been released yet, but if you are using main you can use the new Haversine::bearing(a, b) to get output in 0...360

See #1210 for more.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@kingkong-cmd
Comment options

@michaelkirk
Comment options

@grevgeny
Comment options

@kingkong-cmd
Comment options

Answer selected by kingkong-cmd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants