Looks like this is using the same algorithm as what @mbcharbonneau did in TFPolygon. I just asked him to break up the boolean chain a bit so my feeble mind could grasp it.

I'm not sure if we want to remove this, or just move the TFPolygon implementation over here, or what  ¯\_(ツ)_/¯