MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

COMPUTER GRAPHICS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
In line clipping, the portion of line which is ____ of window is cut and the portion that is ____ the window is kept.
A
outside, inside
B
inside, outside
C
exact copy, different
D
different, an exact copy
Explanation: 

Detailed explanation-1: -Answer: a Clarification: Line clipping follows the same algorithm that is in the case of point clipping. So, in line clipping also, we will cut the portion of the line which is outside of the window and keep only the portion that is inside the window.

Detailed explanation-2: -In computer graphics, line clipping is the process of removing (clipping) lines or portions of lines outside an area of interest (a viewport or view volume). Typically, any part of a line which is outside of the viewing area is removed.

Detailed explanation-3: -Line Clipping:-(e). If both end points of a line are completely to the right of, completely to the left of, completely above, or completely below the window, then the line is completely exterior to the window and hence invisible.

Detailed explanation-4: -Any method that identifies those portions of a display that are either inside or outside of a particular region of space is referred to as a clipping algorithm or simply clipping. The region against which an object is clipped is known a clip window.

Detailed explanation-5: -Sutherland Hodgeman polygon clipping algorithm is used for polygon clipping. In this algorithm, all the vertices of the polygon are clipped against each edge of the clipping window. First the polygon is clipped against the left edge of the polygon window to get new vertices of the polygon.

There is 1 question to complete.