Skip to content

Cannot read property 'intersect' of null, generated within collectClipResults #11

Description

@richnicholls404

I have been unable to find out exactly why the following causes an issue:

var subject = [
[ 129.25, 43.25 ],
[ 127.25, 43.25 ],
[ 127.25, 44.25 ],
[ 129.25, 44.25 ]
];
var clip = [
[ 129.25, 45.25 ],
[ 130.25, 45.25 ],
[ 130.25, 43.25 ],
[ 129.25, 43.25 ]
];
PolygonBoolean(subject, clip, 'or');

It seems crt is getting set to null within collectClipResults because it is getting replaced with crt.neighbor. This function works fine for hundreds of other attempts with other coordinates.

Thanks for you hard work on this library. It has proved invaluable.

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