how to make rounded trapezoid vtkPolyData or vtkPoints

Hi,

I don’t know any VTK classes that can do that in a single shot. Most likely you’ll need to use a vtkPath class (https://vtk.org/doc/nightly/html/classvtkPath.html) to define a sequence of instructions to lay out a series of connected straight lines and Bezier curves in order to compose the desired shape.

take care,

Paulo

1 Like