urschrei / simplification

Very fast Python line simplification using either the RDP or Visvalingam-Whyatt algorithm implemented in Rust
Other
166 stars 18 forks source link

Extension to 3D lines #43

Closed mawanda-jun closed 1 year ago

mawanda-jun commented 1 year ago

Hi and thank you for your hard work. I'd like to ask you if it's possible to expand this work to 3D lines. I'm not sure of the impact of this feature in this work.

Thank you in advance, Giovanni

urschrei commented 1 year ago

Simplification uses algorithms from Rust's geo library, which is 2D only with no plans to add support for 3 dimensions, so this won't be possible.

mawanda-jun commented 1 year ago

Hi, Thank your for your fast response. No worries!

Great work, continue on this path!

Greetings, Giovanni

district10 commented 1 year ago

I have a c++/python version of rdp, supports 3D: https://github.com/cubao/pybind11-rdp

(It's fast but I havent't benchmarked with this rust version)