Debugging Boolean Operations on Polygons

I'm beginning to grasp the algorithm. Pretty clever. The problem might be that the code to calculate line intersections isn't stable.

Topic: