节点文献

简单多边形裁剪算法

Algorithm for simple polygon clipping

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 宋树华濮国梁罗旭陈东陈润强

【Author】 SONG Shu-hua;PU Guo-liang;LUO Xu;CHEN Dong;CHEN Run-qiang;Institute of Remote Sensing and Geographic Information System,Peking University;China Centre for Resources Satellite Data and Application;China Coal Technologies Group Corporation;Beijing Institute of Applied Meteorology;

【机构】 北京大学遥感与地理信息系统研究所中国资源卫星应用中心中煤科技集团公司北京应用气象研究所

【摘要】 为了尽量降低任意多边形裁剪复杂度,提出了一种基于多边形顶点遍历的简单多边形裁剪算法。该算法将多边形交点插入到裁剪多边形和被裁减多边形顶点矢量数组中,通过记录交点及其前驱、后继信息,可快速生成结果多边形。其中,时间复杂度为O((m+k)×k),m是两多边形中顶点数较大者,k是两多边形的交点数。该算法简化了交点的数据结构,节省了存储空间,降低了算法的时间复杂度,具有简单、易于编程实现、运行效率高的特点。

【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.

【关键词】 多边形裁剪交点前驱后继矢量数组
【Key words】 polygon clippingintersection pointspredecessorsuccessorvector
  • 【文献出处】 计算机工程与设计 ,Computer Engineering and Design , 编辑部邮箱 ,2014年01期
  • 【分类号】TP391.41
  • 【被引频次】5
  • 【下载频次】322
节点文献中: