-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent the algorithm from generating self-intersecting polygons #1
Comments
Fixed partially but not quite, full fix in progress — will have to index concave hull segments with rbush too, and check intersections against all segments. |
@mourner any updates on a full fix for self-intersections? |
@rhwang201 did a full fix in b2f27df. Are you experiencing a failing case? |
@mourner seeing self-intersections in a project that uses Can reproduce by starting a local Galton server following the "Example" section in the README, and then examining the output of |
Can you set up a self-contained test case (just concaveman, without any additional libraries and servers)? |
In some cases, the algorithm generates self-intersections. We should fix this and guarantee that the resulting concave hull is a simple polygon.
The text was updated successfully, but these errors were encountered: