This algorithm performs line clipping against four perpendicular sides that are parallel to the screen. The algorithm combines different types of line and define which line or part of line saved for display. The main property is considered in this algorithm is the parallelism with window boundary to define the clipped line. For parallel lines with window boundaries no need to use intersection point method to find the coordinates of the end points of the clipped line. Midpoint algorithm is used to determine the intersection point with the clipped boundary for non-parallel lines. In this algorithm there are no area codes to determine the position of end points of line.

This content is only available via PDF.
You do not currently have access to this content.