georust / geo

Geospatial primitives and algorithms for Rust
https://crates.io/crates/geo
Other
1.47k stars 190 forks source link

attempt to better document Simplify traits `epsilon` parameter #1151

Closed michaelkirk closed 4 months ago

michaelkirk commented 4 months ago

I'm actually not sure if this is what the parameter really means, but it's my best guess at this point. Is anyone more familiar willing to clarify?

urschrei commented 4 months ago

The triangle explanation (which is correct!) only applies to the Visvalingam-Whyatt algorithm. The RDP algorithm (which underlies Simplify) is distance-based…

michaelkirk commented 4 months ago

Thank you! Please take another look @urschrei