georust / geo

Rust geospatial primitives & algorithms
https://crates.io/crates/geo
Other
1.58k stars 198 forks source link

deprecate EuclideanDistance #1232

Closed michaelkirk closed 4 weeks ago

michaelkirk commented 1 month ago

Part of #1181

In #1222, I moved only the Point x Point distance calculations. EuclideanDistance is implemented for all other geometry types too. This PR moves the rest of those calculations to the new Euclidean line measure struct for consistency.

It's a lot of code movement, but no change in behavior (unless I messed up 😬).