PHP implementation of original algorithm http://www4.ujaen.es/~fmartin/bool_op.html
Algorithm is used for computing Boolean operations on polygons:
- union
- difference
- intersection
- xor
Input parameter is a multipolygon - an array of polygons. And each polygon is an array of points x,y.
TODO
Let's consider two polygons: green multipolygon of two polygons and yellow polygon.
Snow-white polygon is result of Boolean operation on two polygons.