2d-polygon-boolean
2d-polygon-boolean copied to clipboard
perform boolean operations on arbitrary polygons in 2d
var subject = [ [0, 0], [100, 0], [100, 100], [0, 100] ]; var clip = [ [40, 0], [60, 0], [60, 100], [40, 100] ]; var cut = this.polygonBoolean(subject,...
Is [this line of code](https://github.com/tmpvar/2d-polygon-boolean/blob/master/2d-polygon-boolean.js#L276) just saying that no results were found? If so I would prefer just returning empty rather than throwing an error. Not 100% sure if I'm...
Hello! I ran into a rather strange behavior of the library. I think that all of the examples will be clear. In both examples, the left side on the map...
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 ],...
Confirmation of degeneracies were added as a test in 8b509456924f38326c055c131b0282660085bc8f http://arxiv-web3.library.cornell.edu/pdf/1211.3376v1.pdf is an extension of the Greiner-Hormann algorithm that apparently handles degeneracies
