[vtkusers] Checking whether a coordinate is already in vtkPoints

Wesley Brooks wesbrooks at gmail.com
Fri Sep 29 10:41:29 EDT 2006


Dear Forum Members,

Is there a way to check whether a point is already in a vtkPoints object?

I'm just trying to write a small function in python that only adds a point
to the vtkPoints object if one isn't already there. If the point is not in
the object it adds the point and returns the ID of the added point. If it is
already in the object it just returns the ID of the identical point. Is
there a function already around to do this?

Thank you for your help.

Yours Faithfully,

Wesley Brooks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20060929/fe1eecd9/attachment.htm>


More information about the vtkusers mailing list