polyops 0.1.0

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.
1
{"subject":[[[2,0],[10,10],[10,0],[2,0]]],"clipping":[[[5,1],[12,1],[12,9],[5,9],[5,1]],[[6,2],[11,8],[6,8],[6,2]]],"expected":[[[[2,0],[10,0],[10,1],[5,1],[5,3.75],[2,0]]],[[[6,2],[10,6.800000000000001],[10,8],[8.399999999999999,8],[6,5],[6,2]]],[[[9.2,9],[10,9],[10,10],[9.2,9]]]]}