Whether segments a-b and c-d share any point, endpoints and collinear
overlap included.
True for a proper crossing by segmentsCross, or when any endpoint of
one segment lies on the other by pointOnSegment. Those cases are
exhaustive: two closed segments that meet without properly crossing must
meet at an endpoint of one of them.
Whether segments
a-bandc-dshare any point, endpoints and collinear overlap included.True for a proper crossing by segmentsCross, or when any endpoint of one segment lies on the other by pointOnSegment. Those cases are exhaustive: two closed segments that meet without properly crossing must meet at an endpoint of one of them.