1. Translation
A translation is applied to an object by repositioning it along a straight-line path from one coordinate location to another. We translate a two-dimensional point by adding translation distances, tx and ty, to the original coordinate position (x,y) to move the point to a new position (x’, y’)
x’ = x + tx, y’ = y + ty
The translation distance pair (tx, ty) is called a translation vector or shift vector. In matrix form the translation of a two dimensional object can be written as
2. Rotation
تعليقات: 0
إرسال تعليق