Saturday, June 29, 2019

Difference between Cohen Sutherland and Cyrus Beck Algorithm

Difference between Cohen Sutherland and Cyrus Beck

Cohen Sutherland Algorithm

1) Clipping Windows reason can be rectangular in shape and no other polygon shape window is allow.
2) Edges of rectangular shaped clipping window has to the parallel to the x-axis and y-axis.
3) if endpoint of line segments lies in the extreme limits that is one at RHS other at LHS and at the top or other at the bottom. Then even if the line does not pass through the clipping reason it will have logical intersection of 0000 implying that line segment will be clipping what in fact if is not show.

Cyrus back Algorithm

1) it is a generalized line clipping algorithm and used polygon window.
2) there are no define the number of edges and It was designed to be more efficient then the Cohen Sutherland because uses protective clipping.
3) because of the use of convex polygon clipping window it is must than Cohen Sutherland algorithm.

No comments:

Post a Comment