intersection of parametric surface and plane

can we find intersection of bspline surface and plane using OCC?
can someone tell How to go about it.

samscore's picture

Hello,

you can try: BRepAlgoAPI_Section.Section(Geom.Surface Sf, TopoDS.Shape Sh, bool PerformNow)
I think you get a Shape with all computed edges. No topologies is given back if these edges
are connected, but you can test it by the vertex. I think theres another intersection tool
which give you also a line number, but I dont know where to find it. If you find it, post it please...

Regards
Simon