67#ifndef vtkCardinalSpline_h
68#define vtkCardinalSpline_h
70#include "vtkCommonComputationalGeometryModule.h"
100 void Fit1D(
int size,
double* x,
double* y,
double* w,
double coefficients[][4],
101 int leftConstraint,
double leftValue,
int rightConstraint,
double rightValue);
103 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