[vtkusers] shortest distance between two meshes?

Leila Baghdadi baghdadi at sickkids.ca
Tue Feb 18 12:32:01 EST 2003


Hey Elvis

I have done this kind of comparison when I was doing FE mesh generation. 
what you need to do is to use 

vtkCellLocator() class which lets you go through each cell in one mesh and 
find the closest cell in the other mesh and find the distance between the 
two of them.

Hope this helps

Leila

On 18 Feb 2003, Elvis Chen wrote:

> Greetings,
> 
> Is there a class in VTK 4 that, give two triangulated meshes in .vtk
> format, find the shortest distance between the two meshes, and the two
> points (one on each mesh) that define the shortest distance?
> 
> thanks in advance,
> 




More information about the vtkusers mailing list