Prepare stubs for checkSegmentIntersectionWithDirectPredecessor() and checkSegmentIntersectionWithAnyPredecessor()