58#ifndef vtkCardinalSpline_h
59#define vtkCardinalSpline_h
61#include "vtkCommonComputationalGeometryModule.h"
64VTK_ABI_NAMESPACE_BEGIN
92 void Fit1D(
int size,
double* x,
double* y,
double* w,
double coefficients[][4],
93 int leftConstraint,
double leftValue,
int rightConstraint,
double rightValue);
95 void FitClosed1D(
int size,
double* x,
double* y,
double* w,
double coefficients[][4]);
computes an interpolating spline using a a Cardinal basis.
void Fit1D(int size, double *x, double *y, double *w, double coefficients[][4], int leftConstraint, double leftValue, int rightConstraint, double rightValue)
static vtkCardinalSpline * New()
~vtkCardinalSpline() override=default
void Compute() override
Compute Cardinal Splines for each dependent variable.
double Evaluate(double t) override
Evaluate a 1D cardinal spline.
void DeepCopy(vtkSpline *s) override
Deep copy of cardinal spline data.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void FitClosed1D(int size, double *x, double *y, double *w, double coefficients[][4])
a simple class to control print indentation
spline abstract class for interpolating splines