You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed, this is a bug in boolean operations (very stupid), I will release a patch soon.
Method intersect of the polygon object returns array of intersection points between two boundaries, so in this case it returns empty array, which is normal.
By the way, when define polygon, don't need to repeat the first point, it cause obsolete zero-length segment in the path.
Bug fixed in @flatten-js/core package release v.1.2.5.
Note, that boolean operations now moved to core package under namespace BooleanOperations, you can use it like this:
Prints:
I also tried using the intersect method on the polygon object:
Which prints:
The text was updated successfully, but these errors were encountered: