This function calculat(ed) the lengths of the diagonals of the quad p1 -> p3
and p2 -> p4
, and resulted
with a fold on the shortest of the diagonals. That works in some cases.
The function now calculates the nearest points on the two crossing lines of the quad and picks the line furthest along the normal passed in; this might be called 'the choice enclosing the most area'. The other