Title :
A Linear Time Algorithm for the Line Clipping against Concave Polygon
Author :
Tang Liang-liang ; He Yuan-jun
Author_Institution :
Dept. of Comput. Sci. & Eng., Shanghai Jiao Tong Univ., Shanghai, China
Abstract :
There are not enough algorithms for line clipping against concave polygon, linear time algorithm against concave polygon even does not exist. This paper presents a linear time algorithm for the line clipping against concave polygon (including concave polygon with a hole inside). Line segment was represented by parametric representation; firstly, calculate the intersection point (represented by parameter values) between the line segment and concave polygon; then analyze the characteristics of parameter values, use a sort algorithm which can be completed in linear time; then introduces the concept of intersection eigenvalue, process the overlap intersection point and edge, ultimately obtain the visible segment.
Keywords :
computational geometry; computer graphics; eigenvalues and eigenfunctions; computer graphics; concave polygon; intersection eigenvalue; line clipping algorithm; line segment; linear time algorithm; Algorithm design and analysis; Blanking; Clocks; Computer graphics; Computer science; Eigenvalues and eigenfunctions; Equations; Helium; Tellurium; Vectors;
Conference_Titel :
Information Engineering and Computer Science, 2009. ICIECS 2009. International Conference on
Conference_Location :
Wuhan
Print_ISBN :
978-1-4244-4994-1
DOI :
10.1109/ICIECS.2009.5364626