I am trying different libraries for generating triangulation with holes.
So far the best implementations I have found are:
triangle by Jonathan Richard Shewchuk and implemented by Zach in ofxTriangleMesh
I am getting the best results with ofxTriangleMesh but I can’t seem to figure out how to get holes in my mesh?
It should be possible. It seems that you can not define holes as a polyline with vertex coordinates like you do for the contour.
I have tried passing a contour for a hole in the ‘triangulateio’ struct that comes with the triangle library but without success.
Is there anybody out there who has experience with this or could point me in the right direction?