1.

What is the name of the small integer which holds a bit for the result of every plane test?(a) setcode(b) outcode(c) incode(d) bitcodeThis question was posed to me in an interview for internship.This interesting question is from Cohen-Sutherland Line Clipping topic in portion 2D Transformation and Viewing of Computer Graphics

Answer»

Right OPTION is (b) OUTCODE

The explanation: A small integer holding a BIT for the result of every PLANE test failed in clipping is termed as outcode. Primitives may be trivially rejected if the bitwise of all its vertices OUTCODES is non zero.



Discussion

No Comment Found

Related InterviewSolutions