Example: math.intersect([300, 90], [400, 97], [300, 130], [400, 125]) returns null. The current code has a hard equivalence check which should probably be relaxed to a soft check within some epsilon.