1.

How many inequalities are solved in this algorithm?(a) 3(b) 2(c) 1(d) 4The question was asked in a national level competition.This is a very interesting question from Liang-Barsky Line Clipping topic in chapter 2D Transformation and Viewing of Computer Graphics

Answer»

The correct CHOICE is (d) 4

To explain I would say: Liang-Barsky line clipping algorithm SOLVES 4 inequalities to find the range of the parameter for which the line is in the intersection with the rectangle.



Discussion

No Comment Found

Related InterviewSolutions