This library implements scanline Bala Vatti clipping algorithm in Haxe. It allows you to combine, subtract, intersect and perform Xor operation on arbitrarily shaped polygons simultaneously with the high efficiency.
This library successfully handles input of any complexity. Input polygons are free to suffer from any imaginable degeneracy. Vertices can be coincident, collinear, float-epsilon-close to each other. Contours can be self-intersecting, segments can be on top of each other.
