Closed mustbau closed 5 months ago
You are referring to the four points to the right of the polygon?
Since they are not protected inside a contour, it's expected that those triangles get eaten. One way to circumvent this is to use the Convex
option. Another option would be to put the whole region into a bounding box.
Please let me know what output you would like to see exactly. It might be possible to tweak the ConstraintMesher a little to get more desirable results.
In case you are referring to the green/pink colored triangles inside the polygon, please make sure that this is not a post-processing error like in https://github.com/wo80/Triangle.NET/issues/40 and then post the input polygon data.
Hi, Thank you for your response. I appreciate your effort and this cool project. I was referring to the internal ones that seem to be eaten. I am currently running some internal tests to check again if its not a Graphics Error.
Hi,
After running some internal tests it came out to be a Boolean operation problem, which causes the elements to be eaten. Not anything with the Triangle algo itself, Anyways thanks for pointing in the right direction. I am closing the issue now
Cheers, :)
Hi, in some cases the Mesh gets eaten, i.e some triangles are not created. The image below shows a case where some triangles were missing
Here is my code for te mesh creation: `
`