Dear experts,
I wanted to ask if there is an optimized code within VTK that returns the 1D coordinate of the intersection of a directional ray within a box, with the box itself.
Something like explained here: https://people.csail.mit.edu/amy/papers/box-jgt.pdf
I took a look at vtkBox::IntersectWithLine but at first glance it seems suboptimal for my application, since it returns two intersection values (ray is bidirectional there).
Thanks in advance!