polyops 0.0.2

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,0],[1,0],[1,3],[0,3],[0,0]],[[0.1,0.1],[0.1,0.9],[0.9,0.9],[0.9,0.1],[0.1,0.1]],[[0.1,2.1],[0.1,2.9],[0.9,2.9],[0.9,2.1],[0.1,2.1]]],"clipping":[[[0.1,1.1],[0.1,1.9],[0.9,1.9],[0.9,1.1],[0.1,1.1]],[[0.2,1.2],[0.2,1.8],[0.8,1.8],[0.8,1.2],[0.2,1.2]]],"expected":[[[[0,0],[1,0],[1,3],[0,3],[0,0]],[[0.1,0.1],[0.9,0.1],[0.9,0.9],[0.1,0.9],[0.1,0.1]],[[0.1,1.1],[0.9,1.1],[0.9,1.9],[0.1,1.9],[0.1,1.1]],[[0.1,2.1],[0.9,2.1],[0.9,2.9],[0.1,2.9],[0.1,2.1]]],[[[0.2,1.2],[0.8,1.2],[0.8,1.8],[0.2,1.8],[0.2,1.2]]]]}