KochanekSpline1D
Introduction
vtkKochanekSpline1D provides methods for creating a Kochanek interpolating 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
computeCloseCoefficients
| Argument | Type | Required | Description |
|---|---|---|---|
size | Number | Yes | |
work | Float32Array | Yes | |
x | Array[Number] | Yes | |
y | Array[Number] | Yes |
computeOpenCoefficients
| Argument | Type | Required | Description |
|---|---|---|---|
size | Number | Yes | |
work | Float32Array | Yes | |
x | Array[Number] | Yes | |
y | Array[Number] | Yes | |
options | Object | Yes | |
options.leftConstraint | BoundaryCondition | Yes | |
options.leftValue | Number | Yes | |
options.rightConstraint | BoundaryCondition | Yes | |
options.rightValue | Number | Yes |
extend
Method used to decorate a given object (publicAPI+model) with vtkKochanekSpline1D characteristics.
| Argument | Type | Required | Description |
|---|---|---|---|
publicAPI | Yes | object on which methods will be bounds (public) | |
model | Yes | object on which data structure will be bounds (protected) | |
initialValues | IKochanekSpline1DInitialValues | No | (default: {}) |
getValue
| Argument | Type | Required | Description |
|---|---|---|---|
intervalIndex | Number | Yes | |
t | Number | Yes |
newInstance
Method used to create a new instance of vtkKochanekSpline1D.
| Argument | Type | Required | Description |
|---|---|---|---|
initialValues | IKochanekSpline1DInitialValues | No | for pre-setting some of its content |