I am successfully using BRepAlgo[Api]_Section to compute the intersection curve of a shape and a plane.
The problem is, the result is a compound of edges, that are not organized in wires.
It is not trivial it would seem, to re-organize them into wires.
Actually, what i'd like to is get a face, so that I can use ShapeAnalysis_FreeBounds::OuterWire() and other methods that let me properly know how the edges relate to the original shape.
Am i better off just using BRep_Algo_Cut and a halfspace, so that I have a solid shape?