-
Notifications
You must be signed in to change notification settings - Fork 133
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
Failure in eraseOuterTriangles #176
Comments
Thank you for the issue! |
This bug does not impact normal triangulation: only custom grids. The reason is that we re-use the sentinel value indicating outermost edges (no adjacent triangle on one side) for representing dangling edges during pseudo-polygon triangulation. It is not possible that super-triangle edge is included in the pseudo-polygon, so this only affects custom grid super-geometry. Here's a temporary fix for the issue: 174-bugfix-supertri Going forward I will re-implement |
Thanks a lot for your analysis. |
Ciao,
I am experiencing a quite strange failure in eraseOuterTriangles.
First of all I create a regular grid:
I add 4 points to the tessellation:
I ask to connect them via a set of 4 edges:
Finally I ask to erase the outer triangles and the result is an empty triangulation.
Do you have any idea of why it is happening?
The code to reproduce it is below.
The text was updated successfully, but these errors were encountered: