[vtkusers] Compute distance between line and vtkPolyData

Chavdar Papazov dfliquid09 at yahoo.com
Mon Nov 13 10:40:36 EST 2006


Hi,

I want to compute the distance between a straight line
(ray) and an vtkPolyData-object.

There is an obvious (but bad) solution:
I could compute the distance between every point in
the vtkPolyData-object and the line and then take the
minimum, but this will be very slow...

Is there a function in VTK, that does this maybe in
some better way?

Thanks a lot!

Greetings,
Che



 
____________________________________________________________________________________
Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited



More information about the vtkusers mailing list