-
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
holes in triangulation #23
Comments
Triangle itself can accept a "seed point" for each hole, and it will cull them out from the inside - but otherwise get the centroids of the resulting triangles and classify them by in-polygon test with your inputs and cull from that. The interface accepts these seed points, search for "hole" here: http://dzhelil.info/triangle/ |
Thanks for looking- I am passing |
Ah, sorry about that - reacted too fast! It's great to have an example to follow - I'm keen to learn Python. |
Actually, this was the result of my segments not being closed, when that was fixed it worked fine:
In testing, |
Hey, thanks for this package- I'm looking in to switching from meshpy to this. I noticed that holes don't appear to be making it to
triangle
. If the holes are passed to the plotting helper function it creates a marker for the hole, but is triangulated over:Code to reproduce:
The text was updated successfully, but these errors were encountered: