10000 union result is wrong · Issue #25 · velipso/polybooljs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
  • Notifications You must be signed in to change notification settings
  • < 8000 a icon="repo-forked" id="fork-button" href="/login?return_to=%2Fvelipso%2Fpolybooljs" rel="nofollow" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"repo details fork button","repository_id":61130302,"auth_type":"LOG_IN","originating_url":"https://github.com/velipso/polybooljs/issues/25","user_id":null}}" data-hydro-click-hmac="f6e39d1f61e1871ec8eb50c95ccbb9b064942b72288214276bd283900b72bef5" data-view-component="true" class="btn-sm btn"> Fork 87

union result is wrong #25

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

Open
jonathanaliaga opened this issue Jun 27, 2020 · 0 comments
Open

union result is wrong #25

jonathanaliaga opened this issue Jun 27, 2020 · 0 comments

Comments

@jonathanaliaga
Copy link
jonathanaliaga commented Jun 27, 2020

Hello, I am using polybooljs for my project.
During trying to get union data of the polys from following data, at last, I am getting empty regions:
{"regions":[],"inverted":false}

const poly1 = {"regions":[[[-175780,257560],[-175760,257540],[-175720,257560]],[[-175340,257720],[-175540,257620],[-175700,257680],[-175660,257780],[-175680,257860],[-175760,257840],[-175780,257700],[-175933.6923076923,257728.46153846153],[-175920,257660],[-175840,257660],[-175820,257560],[-175900,257560],[-175940,257460],[-176060,257400],[-176074.8872180451,257401.35338345866],[-176400,257260],[-176400,258100],[-176200,258200],[-176100,258240],[-176135.45454545456,258098.18181818182],[-176087.54716981133,257988.679245283],[-175940,258040],[-175820,257960],[-175660,257940],[-175500,257760],[-175380,257760]],[[-175600,258300],[-175600,258060],[-175660,258020],[-175640,257960],[-175540,257840],[-175220,257820],[-175320,257920],[-175320,257925],[-175280,257900],[-175140,257900],[-175140,258300]]],"inverted":false};
const poly2 = {"regions":[[[-175900,257560],[-176180,258200],[-175980,258300],[-175140,258300],[-175140,257800],[-175780,257540]]],"inverted":false};

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

No branches or pull requests

1 participant
0