20 Determining Point Affine Combinations
Q3Param2D_AffineComb
function to determine the two-dimensional parametric point that is the affine combination of an array of parametric points.
TQ3Param2D *Q3Param2D_AffineComb ( const TQ3Param2D *params2D
, const float *weights, unsigned long nPoints, TQ3Param2D *result);params2D
A pointer to an array of two-dimensional parametric points.weights
A pointer to an array of weights. The sum of the weights must be 1.0.nPoints
The number of points in theparams2D
array.result
On exit, the parametric point that is the affine combination of the parametric points inparams2D
having the weights in theweights
array.
Q3Param2D_AffineComb
function returns, as its function result and in the result
parameter, the parametric point that is the affine combination of the parametric points in the array params2D
having the weights in the array weights
.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker