Operating system: windows10
I want to do the orthogonal projection (or just the simplest projection) from a polydata array to a model surface. The input polydata is the edge of another model.
My goal is to receive the new coordinates of polydata after the projection, but I don’t know how to do the projection.
Now I only know how to get the coordinates from polydata, just like the code below. Thanks!
Here is my code:
PolyData = modelNode.GetPolyData()
Point_coordinates = PolyData.GetPoints().GetData()
numpy_coordinates = numpy_support.vtk_to_numpy(Point_coordinates)