Go to the documentation of this file.
6#ifndef imath_CSplineSegmentFunction_included
7#define imath_CSplineSegmentFunction_included
36 return (2 * alpha - 3) * alpha * alpha + 1;
42 double beta = 1 - alpha;
43 return alpha * beta * beta;
Helper class for calculation of splines of 3rd degree.
static double GetValueKernelAt(double alpha)
Get kernel of value normalized to range [0, 1].
static double GetDerivativeKernelAt(double alpha)
Get kernel of derivative normalized to range [0, 1].
Package with mathematical functions and algebraical primitives.
© Witold Gantzke and Kirill Lepskiy