检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:王结臣[1] 沈定涛[1] 陈焱明[1] 李利番[1]
机构地区:[1]南京大学地理信息科学系,南京市汉口路22号210093
出 处:《武汉大学学报(信息科学版)》2010年第3期369-372,377,共5页Geomatics and Information Science of Wuhan University
基 金:国家基础科学人才培养基金资助项目(J0630535)
摘 要:提出了一种基于扫描线思想和梯形分割技术的多边形裁剪算法,其主要步骤包括:计算主多边形(集)与窗口多边形(集)的交点,提取所有交点和多边形边界结点的纵坐标(y)并进行排序;以排序后的y作水平扫描线,分别对主多边形和窗口多边形进行梯形分割,获得两组梯形集合;对这两组梯形集合逐行执行梯形单元"交"运算,最后对结果交集进行边界追踪建立裁剪多边形。实验结果表明,该算法具有较好的计算效率,是一种比较实用的多边形裁剪算法。We popose pezlum segmentation an efficient algorithm for complex polygon clipping by adopting the tra technique and scan line idea. Firstly, we find and compute the intersec tion points between main polygons and window polygons, then we record and sort the Y val- ues of these points and the points in all polygons. Secondly, we cut all the polygons into some trapezium units by drawing the scan lines on the basis of these Y values and intersecting the edges of all polygons with the scan lines. Thirdly, we complete the trapezium-split oper- ation line by line and pick up the intersection parts between the trapezia from main polygons and those from window polygons. Finally, we acquire the clipping polygons by tracing the boundary of the intersection parts. This algorithm ovecomes the complex computations such as the line reorganization and calculation of entry and exit points on the polygons.
分 类 号:P208[天文地球—地图制图学与地理信息工程]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.195