You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From above table we can see that triangles marked red: 9,12,13 are wrong - because they overlap the 2nd hole.
Also triangle 11 is overlapping triangle 10.
Is my input data correct?
I'd like to achieve something like this:
The text was updated successfully, but these errors were encountered:
After executing
earcut([1, 1, 5, 1, 5, 5, 1, 5, 2,2, 3,2, 3,3, 2,3, 4,4, 5,4, 5,5, 4,5, 4,3, 5,3, 5,4, 4,4, 4,2, 5,2, 5,3, 4,3, 2,1, 3,1, 3,2, 2,2], [4, 8, 12, 16, 20]);
the result is:
Output
From above table we can see that triangles marked red: 9,12,13 are wrong - because they overlap the 2nd hole.
Also triangle 11 is overlapping triangle 10.
Is my input data correct?
I'd like to achieve something like this:
The text was updated successfully, but these errors were encountered: