[vtkusers] Check if a point (3 D coordinates) existe in vtkpoints set.

David Doria daviddoria at gmail.com
Thu Feb 17 07:31:30 EST 2011


On Thu, Feb 17, 2011 at 4:12 AM, ahmedmaalej <ahmed.supcom at hotmail.com> wrote:
>
> I want to ask is there a way to check if a point (with knowing only its 3D
> coordinates) exists in vtkpoints, and if not how to insert it.
> --

Take a look at

http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/MergePoints
http://www.vtk.org/doc/nightly/html/classvtkMergePoints.html

Specifically, InsertUniquePoint ()

David



More information about the vtkusers mailing list