line-surface intersection

Hello,
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: http://www.opencascade.org/org/forum/thread_8220/
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,
Gernot

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

Gerhard

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.

Gernot