Scaling a point with homogeneous coordinates (x,y,w) by a factor sx along the X-axis and a factor sy along the Z-axis is achieved by the following matrix multiplication:
[sx000sy0001]â‹…[xyw]
Example
|
Scaling P(3,5) by 2 along the X-axis:
[200010001]â‹…[351]=[6101]
|