Skip to content

Spline3D ​

Introduction ​

vtkSpline3D provides methods for creating a 1D cubic spline object from given parameters, and allows for the calculation of the spline value and derivative at any given point inside the spline intervals.

Methods ​

computeCoefficients ​

ArgumentTypeRequiredDescription
pointsYes

extend ​

Method used to decorate a given object (publicAPI+model) with vtkSpline3D characteristics.

ArgumentTypeRequiredDescription
publicAPIYesobject on which methods will be bounds (public)
modelYesobject on which data structure will be bounds (protected)
initialValuesISpline3DInitialValuesNo(default: {})

getPoint ​

ArgumentTypeRequiredDescription
intervalIndexNumberYes
tNumberYes

newInstance ​

Method used to create a new instance of vtkSpline3D.

ArgumentTypeRequiredDescription
initialValuesISpline3DInitialValuesNofor pre-setting some of its content