[vtkusers] Get normal vector of the closest polydata cell to a given test point

M. Jordan mjordan at live.at
Wed Jan 11 06:02:47 EST 2017


Hello,

i have a test point p[x,y,z] and a polydata.
I use vtkCellLocator to get the closest cell of the polydata to this point.

I get:
- the closest point
- the squared distance to the closest point
- cell ID

Now I want to get the normal vector of the cell. I know the cell ID but I don't know how to get the
normal vector from it.

Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170111/b9555b86/attachment.html>


More information about the vtkusers mailing list