mfogel / polygon-clipping

Apply boolean polygon clipping operations (union, intersection, difference, xor) to your Polygons & MultiPolygons.
MIT License
543 stars 63 forks source link

Consider deprecating this library in favor of polyclip-ts, which fixes many bugs here. #157

Open markstos opened 1 year ago

markstos commented 1 year ago

The polyclip-ts library provides the same four functions as this library and was built to fix the bugs in this library. If you look at Issue number 1 in that project, you'll see that the first thing that they did was add dozens of test cases /from this repo/, many of which are still not fixed in this project:

https://github.com/luizbarboza/polyclip-ts/issues/1

There's a good chance that whatever bug you are running into this library are fixed in that library.