Intersection between triangulated shape & Line

hi,

is there some way how to obtain intersection between triangulated shape and line?
i can obtain triangles of triangulation and test them for line intersection one by one, but is there something more sophisticated implemented in OC?

best regards,
adrian

Stephane Routelous's picture

Hi Adrian,

I think nothing is done with OCC for speeding your work.
You have to make it yourself

Search google for OctTree,BSP,RTree,etc...

HTH,

Stephane
http://www.exotk.org