Question: 1) Apply Cohen-Sutherland algorithm and comment on following lines in a window with bottom left corner $(5,4)$ and top right corner $(10,87$. a) line $mathrm{AB}

1) Apply Cohen-Sutherland algorithm and comment on following lines in a window with bottom left corner $(5,4)$ and top right corner $(10,87$. a) line $\mathrm{AB} $ with $\mathrm{A} (4,8)$ and $\mathrm{B}(6,11)$ b) line $\mathrm{AC}$ with $\mathrm{A}(4,8)$ and $\mathrm{C}(8,3)$ c) line $X Y$ with $X(6,6$ and $Y(8,7)$ d) line $\mathrm{XZ} $ with $\mathrm{X}(6,6)$ and $\mathrm{Z}(9,6)$ 2) A rectangle with length 4 unit and breadth 3 unit have bottom left corner at $(2,3)$ a) Scale $2 \mathrm{unit} \mathrm{x}$ direction and 1 unit $\mathrm{y}$ direction and then translate lunit $\mathrm{x}$ direction and 2 unit $\mathrm{y} $ direction b) Move 1unit $x$ direction and 2 unit y direction and then scale 1unit $x$ direction and 2 unit y direction. Draw initial and final position of rectangle in both cases. CS.JG.030
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
