Question: Q3: Consider the algorithm below, Explain each step then compare it with DDA algorithm. Step 1: Input the two line endpoints, storing the left endpoint

Q3: Consider the algorithm below, Explain each step then compare it with DDA algorithm. Step 1: Input the two line endpoints, storing the left endpoint in (X1, Y1) and Right endpoint in (X2, Y2) Step 2: Plot the point (X1,Y1) Step 3: Calculate the constants, Ax, Ay, 2Ay and (2Ay - 2Ax) and get the first value for the decision parameter as: Po - 2Ay - Ax Step 4: At each Xk along the line, starting at K=0, perform the following test: if Pk
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
