DBezier1

public DBezier1()

Language: C#

Initializes a new instance of the [] struct.

public DBezier1(IEnumerable<Point> points)

Language: C#

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

public override double Compute(double t)

Language: C#

Computes the Bezier curve point at parameter t.

Parameters:

  • t: The parameter t, ranging from 0 to 1.

Returns: The computed point on the Bezier curve.

public struct Point

Language: C#

Represents a control point for the Bezier curve.