Try to satisfy XCode static analyzer by always writing out s and t in IntervalIntersection and LineSegment2DLineSegment2DIntersect.
Add new polygon-line intersection test.