Create lineSegmentIntersect