polyops 0.0.7

Fast Martinez-Rueda polygon clipping: Boolean operations (intersection, union, difference, xor) on polygons and multipolygons over GeoJSON-shaped coordinates. Pure-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]]]]}