Function _findNextHorizontalSegmentPrivate

  • Private

    from some given vertical segment, find the next horizontal segment, gathering any other vertical segments found along the way. Searches as far as the end stub.

    Parameters

    • currentSegment: OrthogonalSegment
    • currentSegmentIndex: number
    • segments: OrthogonalSegment[]

    Returns {
        index: number;
        others: OrthogonalSegment[];
        segment: OrthogonalSegment;
    }

    • index: number
    • others: OrthogonalSegment[]
    • segment: OrthogonalSegment