检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《计算机应用与软件》2010年第3期40-42,共3页Computer Applications and Software
基 金:国家973计划前期研究专项(2007CB316506);国家自然科学基金(60773093)
摘 要:在Weiler算法的基础上提出一种在GIS环境中计算非凸多边形之间的剪裁区域的新算法。该算法前提是多边形已根据梯形分解法被分解成若干个梯形,首先计算两个多边形之间的交叉点,并在计算的过程中按Weiler算法中的出点和入点来标示它们,然后逆序遍历所有的交叉点来确定剪裁区域。该算法通过减少交叉点的计算时间和遍历时间来提高Weiler算法的效率。在GIS这种具有频繁拓扑关系运算的环境中可以很好地提高运算效率,最后通过实验验证,即使在接近最坏的情况下,该算法也优于传统的Weiler算法。This paper introduces a new algorithm to calculate clipping area between two non-convex polygons in GIS environment by improving Weiler algorithm. The polygon having been decomposed into a set of trapezoids before clipping according to the decomposition method of trapezoid is the precondition of the algorithm. First the cross points between two polygons are calculate, and are flagged when calculating them to show if they are the entry point or exit point as described in Weiler algorithm. Then the clipping areas are determined by traversing entire cross points in reverse order. It ameliorates the efficiency of Weiler algorithm through minimising the times consumed on calculating and traversing cross points, which is also an ideal way to improve operation efficiency in the environment of GIS which has frequent topological relation operations. Finally the experiment validated that this algorithm outperforms traditional Weiler algorithm even in the condition approximating the worst situation.
分 类 号:TP301.6[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.7