polyops 0.0.5

Martinez-Rueda polygon clipping algorithm: Boolean operations (intersection, union, difference, xor) over polygons and multipolygons. Rust port of martinez-polygon-clipping.
Documentation
1
{"subject":[[[0,10],[0,-10],[30,-10],[30,10],[0,10]]],"clipping":[[[10,10],[10,-10],[20,-10],[20,10],[10,10]]],"expected":[[[[0,-10],[10,-10],[10,10],[0,10],[0,-10]]],[[[20,-10],[30,-10],[30,10],[20,10],[20,-10]]]]}