Intersection of a Plane and a TopoDS_Face shape?


I use TopOpeBRep_FacesIntersector to solve the intersection of a TopoDS_Face shape and a Plane. When the TopoDS_Face is Plane, ConicalSurface, CylindricalSurface, SphericalSurface, it is OK. But when the TopoDS_Face is a ToroidalSurface or the TopoDS_Face shape which has a hole, it generate a error.

I want to get the intersection curves.

Any help will be appreciate.

Bearloga's picture

Why don't you use BRepAlgoAPI_Section?