Q3Point2D_AffineComb
You can use theQ3Point2D_AffineCombfunction to determine the two-dimensional point that is the affine combination of an array of points.
TQ3Point2D *Q3Point2D_AffineComb ( const TQ3Point2D *points2D, const float *weights, unsigned long nPoints, TQ3Point2D *result);
points2D- A pointer to an array of two-dimensional 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
points2Darray.result- On exit, the point that is the affine combination of the points in
points2Dhaving the weights in theweightsarray.DESCRIPTION
TheQ3Point2D_AffineCombfunction returns, as its function result and in theresultparameter, the point that is the affine combination of the points in the arraypoints2Dhaving the weights in the arrayweights.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help