Professional Documents
Culture Documents
Reflection Abt Arbitrary Axis
Reflection Abt Arbitrary Axis
B
b
O(o, o)
FIGURE 5.22 Reflection about an Arbitrary Line
2-D Transformations 127
Processimvolved
lved following steps:
nnslate
f e the
the line and object so that the line passes through O(0,0) (7V). [Fig. 5.23(a)]
S t e p: Trans/
with
he line and object about the origin in clockwise direction until the line coincides
ep2:Rotat
[Fig. 5.23(b)]
r-axis(R_g
Step
[Fig. 5.23(c)]
Step
:
flect
Retlect
the object about x-axis (M,).
suP h e oobject, apply the converse rotation about the origin (R) Fig. 5.23d)]
bjec
4:
To
the
anslate ob
objcctback to the original location (T-V). [Fig. 5.23(c)]
p lranslate
3:
step
Re
(TV
(b)
(a)
Re
Mx
(d)
(c)
TV
(e) Axis
about an
Arbitrary
Reflection
During
5.23 Stages
FIGURE
are pertormed:
order these
in the
Combi g these five
transformations
T-V
= T-V ROMR-A
M
Now if tan 9= m
128 Computer Graphics
m+1
m
m
sin 6=
m +1
1
cos =
I+m2
| 1 0 0 | cos6 -sin 6 01 0 0
MAB
MAB 0 1 b sin cos & 0||0 -1 0
01lo 0
2m -2bm
m2 +1 m2+1 m+1
2m m-1 2b
m2 +1 m+1 m+1
0 0 1