CGGO Q14

0. A rectangle is bound by the lines x = 0; y = 0; x = 5 and y= 3.
The line segment joining (1, 1) and (4, 2) if clipped against this window will connect the points

  • Option : C
  • Explanation :
    A point (x, y) will be inside the window, if 0 < x < 5 and 0 < y < 3. So, the points (1, 1) and (4, 2), both lie within the window. So, it is already clipped
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *