An affine combination is a weighted point with . The coefficients can be negative. The sum is meaningful in an affine space without selecting a preferred origin: relative to any point , it means . Affine maps preserve these weighted points. [ref]
For an original example in the Euclidean plane, take , and . Then lies inside their triangle. Its coefficients are nonnegative, making it a convex combination. In contrast, is beyond : it is an affine combination but not a convex combination of these three points. Negative weights allow extrapolation, rather than only interpolation inside the convex hull.
For the affine map , the same weights produce from , and produce from . Thus one can compute a weighted point before transforming the vertices or afterwards, obtaining exactly the same point.
Figure 1.
Positive and signed affine weights before and after a transformation
. The green point has weights and stays inside the transformed triangle. The orange point has weights and lies beyond the corresponding edge endpoint. These are original coordinate examples; the same weights are used in both panels. Details.
This is useful whenever an object is built from weighted control points: its construction commutes with an affine map, so transforming the control points transforms the constructed object as well. The sum of the weights is the essential condition; no assumption about lengths or angles is needed.
Keep the basis fixed and replace the origin by a point with old coordinates . Each point's coordinates change from to . For coefficients with sum one, the weighted coordinates become
Adding the new origin gives the original point. This proves origin independence rather than asserting that the coordinate tuples themselves stay unchanged.
The requirement cannot be omitted. In the example , , blindly treating as a point gives in the old coordinates. If the new origin is , the two coordinates become and ; adding them and restoring instead gives . The coefficients sum to two, so this procedure has no origin-independent interpretation as a weighted point.

Articles by others on the same topic (0)

There are currently no matching articles.