Q68.Marks: +2.0UGC NET Paper 2: Computer Science and Application 26th June 2025 Shift 1
Which of the following technique is used for Clipping?
1.Stack based Seed
2.Scan Line Seed
3.Sutherland-Cohen✓ Correct
4.Inverse Scaling
Solution
The correct answer is Sutherland-Cohen
Key Points
Sutherland-Cohen: ✅ The Sutherland-Cohen algorithm is one of the most widely used techniques for line clipping in computer graphics. It is specifically designed to clip lines against a rectangular clipping window.
Stack-based Seed: ❌ This is not a technique used for clipping. It is more relevant to seed fill algorithms for regions or polygons.
Scan Line Seed: ❌ This refers to methods for filling polygons or areas rather than clipping.
Inverse Scaling: ❌ This is related to scaling transformations in computer graphics and not directly applicable to clipping.
Additional Information
Purpose of Clipping: Clipping is used in computer graphics to limit the rendering of objects to a defined region, typically the viewport or clipping window.
Sutherland-Cohen Algorithm: It divides the clipping process into outcodes for the endpoints of the line and uses logical operations to determine the visibility of the line segment.
Efficiency: The Sutherland-Cohen algorithm is efficient because it minimizes the number of calculations by rejecting or accepting lines outside or inside the clipping area early in the process.
Hence, the correct answer is:option 3) Sutherland-Cohen