[vtkusers] FindPoint() giving incorrect results
Alex Malyushytsky
malyushytsky at gmail.com
Tue Mar 17 20:53:12 EDT 2015
How do you know results are incorrect?
I had vtkKdTreePointLocator producing incorrect results with
FindClosestPoint (if not mistaken in 5.6.1).
Not sure was it fixed or not.
At the same time vtkPointLocator FindClosestPoint was providing correct
result.
That was proven by brute force search of closest point (always work).
In you case it is not clear what methods you are using.
AFAIK there is no FindPoint method in any of above class.
In any case I suggest you to prove that it does not work by brute first
method first and report the bug (if any).
Regards,
Alex
On Mon, Mar 16, 2015 at 9:26 PM, madz <madaramh at gmail.com> wrote:
> I have two sets of polydata called polydata A and polydata B. I want to
> match
> the points of polydata A to that of polydata B and get polydata output.
>
> The polydata A points looks like the following,
> <http://vtk.1045678.n5.nabble.com/file/n5730868/smallpoly.png>
>
> Polyadata B looks like the following
> <http://vtk.1045678.n5.nabble.com/file/n5730868/largepoly.png>
>
> The output poydata does not gives the point locations correctly, it gives
> something like the following,
> <http://vtk.1045678.n5.nabble.com/file/n5730868/outputpoly.png>
>
> I have tried this using,
>
> *polydataB->FindPoint(pointOfA)*
>
> and using both *vtkPointLocator *and *vtkKdTreePointLocator*, but both
> gives
> the same incorrect result. What should I do to avoid this problem.
>
> Thank you.
>
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/FindPoint-giving-incorrect-results-tp5730868.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150317/f34a7b0c/attachment.html>
More information about the vtkusers
mailing list