Open urschrei opened 6 years ago
Hi, It would be nice to see a Rust port, though I don't have time for this at the moment.
Something that makes this more work is having to use a custom tree structure, since I don't think Rusts binary tree can be used as-is, since the comparison function needs to referencing a changing sweepline value.
I think everyone is is busy at the moment, so no worries. Thanks for the pointer about the tree structure – I'll do some digging when I get the chance.
We (the rust-geo developers) need a B–O implementation for checking Polygon self-intersection (in order to do validity checks). The Dan Sunday version at geomalgorithms would probably be enough (since we don't need to identify the intersections in the the first instance) intially, but your version is a lot more comprehensive and well-tested. Would you be interested in helping to port it to Rust? There's no particular urgency, and it'd be great to have a high-quality implementation in the library.