Skip to content

union result is wrong #25

Description

@jonathanaliaga

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};

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions