Swaps the two endpoints of a segment.
def ReverseSegment( inSegment: Segment2D, / ) -> outSegment: Segment2D