TopoDS_Edge in TopoDS_TWire not connected in sequence

Why are the TopoDS_Edge in the TopoDS_TWire container not connected in sequence, and what was the purpose behind this design?

gkv311 n's picture

Different combinations of Edges in Wire define topologically the same shape, in the same way as different combinations of Faces in Shell. Connectivy between Shapes in B-Rep is defined by shared Shapes, not by some specific order of them.

You may use BRepTools_WireExplorer tool if you would like to iterate through Edges in Wire in some connected order.