Sutherland-Hodgeman Polygon Clipping:It is performed by processing the boundary of polygon against each window corner or edge. First of all entire polygon is clipped against one edge, then resulting polygon is considered, then the polygon is considered against the second edge, so on for all four edges. Four possible situations while processing
Following figures shows original polygon and clipping of polygon against four windows. Disadvantage of Cohen Hodgmen Algorithm:This method requires a considerable amount of memory. The first of all polygons are stored in original form. Then clipping against left edge done and output is stored. Then clipping against right edge done, then top edge. Finally, the bottom edge is clipped. Results of all these operations are stored in memory. So wastage of memory for storing intermediate polygons. Next TopicWeiler-Atherton Polygon Clipping |