Bezier

MGI Bezier Find k

Search the Bezier Control Points array for the block containing y. y is tested against y(first k + 3 + 4*n), where n = 0, 1, .... Return value is (first k + 4*n), suitable for input to Bezier Inverse.

MGI Bezier Find k Backwards

Search the Bezier Control Points array for the block containing y. y is tested against y(first k - 4*n), where n = 0, 1, .... Return value is (first k - 4*n), suitable for input to Bezier Inverse.

MGI Bezier Inverse Multiple Solutions

Calculates bezier 0..1 parameters from y, a bezier function result. All solutions in the range 0..1 are returned, in ascending order.

MGI Bezier Inverse Time

Calculate a time from a block index and a 0..1 parameter. Actually performs an inverse Bezier function rather than a forward one, so u is first mapped linearly to the time range, then an inverse Bezier is calculated, and then the result is remapped into the time range.

MGI Bezier Inverse

Calculate a bezier 0..1 parameter from y, a bezier function result.

MGI Bezier Scalar

Compute a Bezier point given an array of control points, the index of the start of the block of 4 points to be used, and the desired 0-1 value.

MGI Bezier Slope Vector

Compute an N-Dimensional Bezier vector given sets of 4 control points in each of N dimensions and the desired 0-1 value.

MGI Bezier Slope Weights

Computes an array of four weights, (1-u)^3, u(1-u)^2, u^2(1-u), and u^3 given u. u should be between 0 and 1.

MGI Bezier Time

Calculate a bezier 0..1 parameter from t. Actually uses a forward bezier instead of an inverse, so the endpoint times are first used to map t to a 0..1 parameter, then the bezier is calculated, then the endpoints are used to map the result back to 0..1.

MGI Bezier Vector

This is a polymorphic VI that computes an N-Dimensional Bezier vector given sets of 4 control points in each of N dimensions and the desired 0-1 value.

MGI Bezier Weights

This is a polymorphic VI that computes an array of four weights, (1-u)^3, 3u(1-u)^2, 3u^2(1-u), and u^3 given u. u should be between 0 and 1.

MGI Bezier Optimizer

Modification of Downhill Simplex nD to perform modelling calculation and provide an interactive display.