[vtkusers] quadratic comparison of points in a polyData mesh, a faster way?
Ryven
swifteye at gmail.com
Mon Feb 1 15:34:28 EST 2010
Hi
Currently i'm doing a embedded for loop comparison of points in a mesh
(points->GetPoint(i)) to compare them for equality (i need to make a list of
identical points). I'm not necessary trying to remove identical points, so
just using the vtkClean class is no good, all i really want to do is be able
to identify these points. Currently it's pretty slow, just looping through
(it seems to act like a linkedList?).
My question is if there's a faster way of accessing data in the points array
to do comparisons?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100201/58122c07/attachment.htm>
More information about the vtkusers
mailing list