[vtkusers] Finding points with same coordinates

Martin Baumann mailsgetlost at web.de
Fri Aug 11 05:29:46 EDT 2006


Hi,

I use a vtkUnstructuredGrid that can contain points that have the same 
coordinates.
For a given point I need to know if there is an other point that has 
same coordinates.

There is a function vtkPointSet::FindPoint(double x[3]) that looks for a 
point with given
coordinates and returns the id of that point but only for the first hit.

So what would be the best way to find out if there exist an other point 
at the position?
Iterating over all points is slow I guess.

Regards, M.B.



More information about the vtkusers mailing list