I want to collect the contours and the islands from the selected edges.
I am doing it in this way.
1- Get the edge list from screen
2- Sort list by checking connection status and collect together the connected ones. Also i need to check the orientation of edge.
After that i have a list of list (contours & islands)
This solution is a little bit complex.
There should be a ready to use class in OCC about the subject.
I tried BRep_Builder::MakeWire but it is not correcting the orientations. Because finally i want to explore the connected edges (~wire) by giving a parameter like Geom_Curve::Value(aParam).