DCatmullRom3

public DCatmullRom3()

Language: C#

Initializes a new instance of the [] struct.

public DCatmullRom3(IEnumerable<DVector3> points)

Language: C#

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

public override DVector3 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.