Question discussion

In the Cohen-Sutherland line clipping algorithm, if both endpoints of a line have a region code of 0000, what can be concluded?

600Medium DSSSB TGT Computer Science 0 replies 1 views
0
In the Cohen-Sutherland line clipping algorithm, if both endpoints of a line have a region code of 0000, what can be concluded?
  • AThe line is completely outside the window and should be rejected
  • BThe line is completely inside the window and should be trivially accepted
  • CThe line needs further clipping computations
  • DThe algorithm has failed
Correct answer: B

Discussion 0

Nobody has replied yet. Start the discussion!