Extract Point Data included in Line

Hello

I want to extract the point data included in the line.

I would be grateful if you could give me any hints or methods.

My purpose is to compare the height (= Z) by outputting the Point Data in Profile form.

Thanks!

You can get the profile point positions by cutting the polydata with a plane using vtkCutter. The plane goes through the two endpoints of the line and the camera position.

1 Like