Class CubicHermite

  • All Implemented Interfaces:
    CurveFitting, Interpolation

    public class CubicHermite
    extends Object
    implements Interpolation
    Cubic Hermite spline interpolation is a piecewise spline interpolation, in which each polynomial is in Hermite form which consists of two control points and two control tangents. Unlike CubicSpline interpolation, where the interpolated splines depend on each point, this method performs piecewise interpolation. The method for computing the control tangents is non-unique and various approaches exist.
    See Also:
    Wikipedia: Cubic Hermite spline
    • Constructor Detail

      • CubicHermite

        public CubicHermite​(CubicHermite.Tangent tangent)
        Construct an instance with the given method to compute tangents.
        Parameters:
        tangent - computes the control tangents used for the interpolation
    • Method Detail