EmilyMatt / mapping-rs

A collection of mapping suites and useful algorithms, implemented in pure Rust
MIT License
12 stars 4 forks source link

implement Haversine formula #54

Closed yakovgrintz closed 7 months ago

yakovgrintz commented 8 months ago

The Haversine formula calculates the spherical distance between points, given their longtitude and latitude. It is a very important formula in real-life mapping and navigation applications.

https://en.wikipedia.org/wiki/Haversine_formula

EmilyMatt commented 7 months ago

Done by @yakovgrintz , Great work :)