Академический Документы
Профессиональный Документы
Культура Документы
Ch.5
Translation
Scaling
Rotation
Shear
2D Translation
2D Translation
Current position " #
x
p= y
Translation operation
" #
x
T (x; y ) =
y
p + T (x; y) = p 0
x0 = x + x
y 0 = y + y
2D Scaling
2D Scaling
Current position " #
x
p= y
Scaling operation
" #
sx 0
S (sx ; sy ) =
0 sy
S (sx ; sy )p = p 0
Matrix multiplication
2D Rotation
2D Rotation
Current position " #
x
p= y
Rotation operation
" #
R( ) =
cos( ) , sin()
sin( ) cos( )
R( )p = p 0
" #
p0
=
,
x cos( ) y sin( )
x sin( ) + y cos( )
y = r sin(1)
Rotate 2
x0 = r cos(1 + 2 )
y 0 = r sin(1 + 2 )
Shear operation
" #
1 a
Shx (a) =
0 1
p 0
= Shx (a)p
Geometric meaning
Shear operation along y axis
" #
1 0
Shy (b) =
b 1
" #
x
p0
= Shy (b)p =
bx + y
Geometric meaning !
Consider more complicated cases!
Various examples are shown in the class!