Line clipping based on parallelism approach and midpoint intersection
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...
Main Authors: | , |
---|---|
Format: | Conference or Workshop Item |
Language: | English |
Published: |
2014
|
Subjects: | |
Online Access: | https://repo.uum.edu.my/id/eprint/17114/1/1.pdf |
Summary: | 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. |
---|