Skip to content
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

Another edge case with touching holes #129

Open
rodovich opened this issue Oct 21, 2019 · 1 comment
Open

Another edge case with touching holes #129

rodovich opened this issue Oct 21, 2019 · 1 comment
Labels

Comments

@rodovich
Copy link

rodovich commented Oct 21, 2019

The following triangulation was generated with earcut 2.2.1 using viz/viz.js setting testPoints to [[[16,12],[0,12],[0,0],[16,0]],[[12,7],[13,7],[13,6]],[[12,5],[13,6],[14,5]],[[4,8],[6,8],[5,6]],[[4,4],[5,6],[8,4]]]:

image

Looks similar to the input in #120 (comment).

@mourner mourner added the bug label Nov 12, 2019
@AZm87
Copy link

AZm87 commented Jan 28, 2020

I found another situation where this bug occurs. I used earcut 2.2.2 with the following testPoints:

[
    [[4430, 22202], [10568, 22777], [18532, 19422], [12883, 16586], [3634, 16908], [-2575, -3924], [36246, -3032], [35220, 36947], [-4648, 36039]],
    [[21522, 13778], [15738, 13643], [18532, 19422]],
    [[16205, 25080], [19383, 25153], [18532, 19422]]
]

Screenshot 2020-01-28 at 11 31 38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants