2D Translation

Translation is a simple straight line movement of the object.

(old coordinates are (x, y) and the new coordinates are (x', y'))

x' = x + Tx
y' = y + Ty

For a complex object such as a polygon, add the translation distances (Tx, Ty) for each endpoint of the object. For a circle or ellipse:

xc' = xc + Tx
yc' = yc + Ty

Main 2D Modeling page
HyperGraph Table of Contents.
HyperGraph Home page.

Last changed June 02, 1999, G. Scott Owen, owen@siggraph.org