2D Transformations
2D Transformations. To rotate a line or polygon, we must rotate each of its vertices. To rotate point (x 1 ,y 1 ) to point (x 2 ,y 2 ) we observe: From the illustration we know that: x 1 = rcosA y 1 = rsinA x 1 = rcos(A+B) y 2 = rsin(A+B). y-axis. (x2,y2). (x1,y1). r. B. A. (0,0).
310 views • 13 slides