There is high level API GeomAPI_IntCS, which intersects a curve with a surface. Or you can use the class BRepClass3d_Intersector3d, which intersects a 3d line with a topological face. But for best customization you should use directly the class IntCurveSurface_HInter, which is used internally in both cases. For examples of its usage see implementation of the above mentioned classes.
Archived discussion
Does OCC support ray tracing
I'd like to use OCC as a mesh generator for FDTD code.
It should compute intersection point betwen geom object and 3D line.
I had use BRL-CAD to do the same job, the ray tracing tool of BRL-CAD can do
it efficiently.
How should I do with OCC?
Discussion
1 archived reply
Posts are displayed in their archived order.