Add intersectBoxSegment.