Computer Graphics20805 marksNumerical: Line reflection transformationTwo-Dimensional translation, Rotation, Scaling, Reflection a
Reflect a line segment having end points (9,3) and (12,10) about a line X=7. Draw initial and final result graph as well.
Reflect a line segment having end points (9,3) and (12,10) about a line X=7. Draw initial and final result graph as well. [5]
- Endpoint $A = (9, 3)$ - Endpoint $B = (12, 10)$ - Mirror line: $X = 7$ (so $a = 7$) $$x' = 2a - x, \qquad y' = y$$ With $a = 7$: $$x' = 14 - x, \qquad y' = y$$ $$x'A = 2(7) - 9 = 14 - 9 = 5$$ $$y'A = 3$$ $$\boxed{A' = (5, 3)}$$ $$x'B = 2(7) - 12 = 14 - 12 = 2$$ $$y'B = 10$$ $$\boxed{B' = (2, 10...