Find all segments that connect two vertices (possibly through intermediate vertices).
This is useful after splitting segments, when you want to find which segments
now connect the original vertices.
- Parameters:
- start_vertex
int 1-based start vertex index.
- end_vertex
int 1-based end vertex index.
- Returns:
List[int]List of 1-based segment indices connecting the vertices.
List of 1-based segment indices that connect start_vertex to end_vertex
(possibly through intermediate vertices)