Q3Param2D_AffineComb
You can use the 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 the
params2D array.
result
- On exit, the parametric point that is the affine combination of the parametric points in
params2D having the weights in the weights array.
DESCRIPTION
The 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.