line-surface intersection

I have to intersect a lot of faces by lines.
I found that GeomAPI_IntCS sometimes doesn't find an intersection, although the line goes through the middle of the face.
I have read this thread:
There is a class IntCurvesFace_ShapeIntersector mentioned, but I can't find it. Does anybody know whether is has been renamed or replaced by an other class?

Thank you for help,

Gerhard Hofmann's picture

You find it in "IntCurveSurface_Intersection.cxx" or in "IntCurvesFace_ShapeIntersector.cxx", documented in the cdl files. Let me know whether it works


Gernot Knieling's picture

Thank you, Gerhard.
I found it, but I decided to write my own intersection algorithm based on Poly_Triangulation from a face. Its faster and more robust.