getting points of a intersection curve
I use BRepAlgoAPI_Section to calculate the intersection curve of two solids.
auto endContur = BRepAlgoAPI_Section(tube,cutShape);
auto conturShape = endContur.Shape();
The class returns a compound object. I need to get the points of the intersection curve, How can I do this? I looked into the documentation of TopoDS_Compound but there are no usefukl methods?