[vtkusers] Minimum distance between two vtkPolyData objects?

jozzas jozzas at hotmail.com
Thu Apr 11 21:14:04 EDT 2013


Hey Bill,

My understanding is that vtkDistancePolyDataFilter computes the distance at
every point (vertex) in each vtkPolyData object passed to it.

If you imagine two narrow rectangular prisms, one rotated 90 degrees and
slightly above the other in Z, you can see that this algorithm doesn't
calculate the minimum distance between the convex sets defined by those
vtkPolyData instances, as calculating vertex-vertex distances is inaccurate.
The minimum distance between these objects intersects the faces which
overlap in XY, so any algorithm to determine the true minimum distance (like
GJK) will include edges, faces and vertices.



--
View this message in context: http://vtk.1045678.n5.nabble.com/Minimum-distance-between-two-vtkPolyData-objects-tp5719993p5719995.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list