lineLineIntersect and lineStringsIntersect