CubicInterpolant constructor

CubicInterpolant(
  1. dynamic parameterPositions,
  2. dynamic sampleValues,
  3. dynamic sampleSize,
  4. dynamic resultBuffer,
)

Implementation

CubicInterpolant(parameterPositions, sampleValues, sampleSize, resultBuffer)
    : super(parameterPositions, sampleValues, sampleSize, resultBuffer) {
  _weightPrev = -0;
  _offsetPrev = -0;
  _weightNext = -0;
  _offsetNext = -0;

  DefaultSettings = {
    "endingStart": ZeroCurvatureEnding,
    "endingEnd": ZeroCurvatureEnding
  };
}