DCatmullRom2
public DCatmullRom2()
Language: C#
Initializes a new instance of the [
] struct.
public DCatmullRom2(IEnumerable<DVector2> points)
Language: C#
Initializes a new instance of the [
] struct with control points.
public override DVector2 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.