Intersection TopoDS

Is there a method to find out intersecting point between a TopoDS surface (TopoDS_Face / TopoDS_Shape) and a TopoDS curve (TopoDS_Edge / TopoDS_Wire)

I am aware of GeomAPI_IntCS which gives intersection of a geom surface and geom curve.

Any help will be appreciated.


Bearloga's picture

Use the class IntCurveSurface_HInter, which is an instantiation of the generic class IntCurveSurface_Inter. Use can use classes BRepAdaptor_HCurve and BRepAdaptor_HSurface to wrap your shapes for intersection.