Is it possibel to compute normal distance from STL surface to point cloud away from STL

As shown in the figure, I want to compute the normal distance from the STL surface to a given set of points.

yes it’s possible. Use a vtkCellLocator (or vtkStaticCellLocator which is faster) and use one of the FindClosestPoint methods.

1 Like

Thanks for the quick reply! I will check it out.