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

union fails with Unable to complete output ring starting at (another case) #105

Open
Tracked by #1
Sayene opened this issue Aug 31, 2020 · 3 comments
Open
Tracked by #1
Labels
bug Something isn't working

Comments

@Sayene
Copy link

Sayene commented Aug 31, 2020

another failing union case, looks like #79
input coordinates:

const poly1 = [[
 [52.09201878268657, 21.066591560238315],
 [52.092021112723586, 21.066581140679013],
 [52.09203010289693, 21.066589357586885],
 [52.09202834374171, 21.066597224252533],
 [52.09201878268657, 21.066591560238315]
]]

const poly2 = [[
  [52.0920211026463, 21.066581185743026],
  [52.09202185854843, 21.066577805467524],
  [52.092031419603565, 21.06658346948174],
  [52.09202979576923, 21.06659073101369],
  [52.0920211026463, 21.066581185743026]
]]

  const union = polygonClipping.union(poly1, poly2) 

error is

Error: Unable to complete output ring starting at [52.09201878268657, 21.066591560238315]. Last matching segment found ends at [52.0920211026463, 21.066581185743033]
@mfogel mfogel added the bug Something isn't working label Nov 14, 2020
@serjesse
Copy link

sorry, may I ask have this bug been fixed or not?

@serjesse
Copy link

@mfogel

@mfogel
Copy link
Owner

mfogel commented Nov 29, 2021

Hey @serjesse - PR's are welcome from anyone anytime. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants