1.

When pk < 0, then the line is ___________(a) parallel to the boundaries(b) exceeding the boundaries(c) bounded inside the boundaries(d) can’t sayI have been asked this question during an interview for a job.Asked question is from Liang-Barsky Line Clipping in chapter 2D Transformation and Viewing of Computer Graphics

Answer» CORRECT CHOICE is (b) exceeding the boundaries

Explanation: When pk < 0 LINE starts exceeding the boundary while if pk > 0 line is bounded INSIDE the boundary. When the line is parallel then pk = 0.


Discussion

No Comment Found

Related InterviewSolutions