InterviewSolution
Saved Bookmarks
| 1. |
Which type of arithmetic is used in Liang Barsky algorithm?(a) simple arithmetic operations(b) floating point arithmetic(c) fixed point arithmetic(d) logarithmic operationsI had been asked this question by my school teacher while I was bunking the class.The query is from Liang-Barsky Line Clipping topic in portion 2D Transformation and Viewing of Computer Graphics |
|
Answer» RIGHT answer is (b) FLOATING point arithmetic The explanation: Liang and Barsky have created an ALGORITHM that uses floating-point arithmetic but finds the appropriate ENDPOINTS with at most four computations with USE of parametric equations. |
|