Skip to content

Triangulate MultiSurface #162

Answered by hugoledoux
d1kkop asked this question in Q&A
Jan 25, 2023 · 5 comments · 3 replies
Discussion options

You must be logged in to vote

I am not entirely sure I understand the question, but if it's "how to triangulate a MultiSurface" then yes mapbox-earcut works for polygons with holes, but I found it to be producing collapsed triangles (area=0.0; or 3 points collinear). For Unity I assume this is not a problem though.

As @kenohori pointed out, CGAL is perhaps a better option, but no C#...

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@d1kkop
Comment options

Comment options

You must be logged in to vote
1 reply
@d1kkop
Comment options

Comment options

You must be logged in to vote
1 reply
@d1kkop
Comment options

Answer selected by kenohori
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants