[vtkusers] Compute distance between line and vtkPolyData

Chavdar Papazov dfliquid09 at yahoo.com
Mon Nov 13 11:03:04 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



 
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index



More information about the vtkusers mailing list