Algorithm for simple polygon clipping

Shu-hua SONG,Guo-liang PU,Xu LUO,Dong CHEN,Run-qiang CHEN
DOI: https://doi.org/10.3969/j.issn.1000-7024.2014.01.036
2014-01-01
Abstract:To decrease the difficulty for polygon clipping,an algorithm for simple polygon clipping based on traversing polygon's vertices is proposed.The algorithm inserts intersection points into the vertexes' vector of clipping and clips polygon.By recording intersection points and its predecessor and successor,it may generate results polygon quickly.The algorithm optimizes the data structure of intersection point,saves storage space,and reduces the time complexity that is O((m+k)×k)where m is the larger vertex number of two polygons,and k is the number of intersection points.The algorithm is simple,easy to implement and high efficiency.
What problem does this paper attempt to address?