DCatmullRom1

public DCatmullRom1()

Language: C#

Initializes a new instance of the [] struct.

public DCatmullRom1(IEnumerable<double> points)

Language: C#

Initializes a new instance of the [] struct with control points.

public override double Compute(double t)

Language: C#

Computes the point on the Catmull-Rom spline at parameter t.

Parameters:

  • t: The parameter t in the range [0, 1].

Returns: The interpolated point on the spline.