-
Notifications
You must be signed in to change notification settings - Fork 54
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
will anything be ever done about colinear edges restriction #8
Comments
This is an issue that is present in the original algorithm, from the C++ version (now here : https://github.com/greenm01/poly2tri ). |
I am not an expert here. What I can say is that this hack allows this test to pass: |
other tests like big roundish triangle and butterfly-like polygon fail, so the hack is no good. |
Any update here? |
Sorry, not for the time being. |
What is the issue, putting steiner points on the polygon edge should split the edge? Steiner points are supposed to be placed inside the polygon. I guess you will have to refine your polygon edges before sending it to the triangulator. |
I mean, now I have to wiggle the vertices by 1e-something * Math.random () which I should not have to. Just have divisions by 0 replaced by some small number, and it should work.
The text was updated successfully, but these errors were encountered: