-
Notifications
You must be signed in to change notification settings - Fork 187
-
Notifications
You must be signed in to change notification settings - Fork 187
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
Autogeometry convex decomposition #208
Comments
It is because the "winding" of the polygon is wrong. If you reverse the order it will work.
You can check if the order is correct by calculating the area of the polygon with
Its not very easy to catch this issue.. The convex_decomposition is supposed to have an assert that checks this, so that you would get a warning when its wrong, but seems like it is not working. I will keep this issue opened until Ive had time to look into why and hopefully fix it. |
Hi!
Amazing library, thanks!
I am trying to get the convex decomposition to work, but I am having the following issue:
I am creating a + shaped polygon, and then try to decompose it.
However it returns the convex hull.
Do you know what I might be doing wrong?
Cheers
Michael
The text was updated successfully, but these errors were encountered: