An NDoc Documented Class Library

Utils.funBezier Method 

retrieves the value of Bezierfunction at t. The degree is given by the count of Points in the array Points.

public static xy funBezier(
   xy[] Points,
   double t
);

Parameters

Points
controlpoints of the Bezierfunction. The count determinates the degree
t
is the value for which the calculation is done

Return Value

vaule of the Bezierfunction

Example

xy[] Points = new xy[3]; xy[0] = new xy(0, 0); xy[1] = new xy(1, 3); xy[2] = new xy(4, 3); xy[3] = new xy(6, 0); xy p = funBezier ( Points , 0.4 );

See Also

Utils Class | Minais.Drawing3d.Math Namespace