This reverts the uses of Float.compare() and Double.compare() made by the fix for 8277868 since it appears clear that for better or worse they are not 100% compatible with the previous code. These ...
But IntersectWith, LineTo and ClosestPointTo (optionally) work as infinite lines. As LineSegment2D is already split off, would it ...