Open pachopepe opened 6 years ago
What is the difference expected to be in this case?
In the following drawings, green shapes are mp1
and magenta shape mp2
, the expected result is mp2
shape(s) without mp1
parts
Maybe this drawing is better:
Let me know whether #3 fixes the issue. You will also have to update the upstream library github.com/ctessum/polyclip-go.
The case of the issue now is working, but I have a new one that doesn't. I will put here when I extract the coordinates. Thanks
I made pull request #4 with a test file that gets the errors that I found in the library
Hi, do you can run the tests?
Thanks for the pull request, but it will probably be several days before I have time to take a look at it.
The following difference of
mp1
andmp2
multipolygons gives the empty polygon, but the difference is not empty:The green and blue polygons are
mp1
and the magenta ismp2