Computer Graphics20795 marksNumerical: line reflection transformationTwo-Dimensional translation, Rotation, Scaling, Reflection a
Reflect a line segment having endpoints (9,3) and (12,10) about a line Y=7. Draw initial and final result graph as well.
Reflect a line segment having endpoints (9,3) and (12,10) about a line Y=7. Draw initial and final result graph as well. [5]
Endpoint Coordinates ----------------------- A (9, 3) B (12, 10) Mirror line: $y = 7$, so $k = 7$. --- For reflection about a horizontal line $y = k$: $$x' = x, \qquad y' = 2k - y$$ With $k = 7$: $$x' = x, \qquad y' = 14 - y$$ $$x'A = 9$$ $$y'A = 14 - 3 = 11$$ $$\Rightarrow A' = (9, 11)$$ $$x'B =...