首页 | 官方网站   微博 | 高级检索  
     

连接不相交线段成简单多边形(链)的算法
引用本文:周培德.连接不相交线段成简单多边形(链)的算法[J].工程图学学报,2002,23(1):109-114.
作者姓名:周培德
作者单位:北京理工大学计算机系,北京,100081
摘    要:提出一个实际问题,即如何连接平面上h条线段成一简单多边形或者简单多边形链,并证明了连接平面上线段集S成一简单多边形链的一个充分条件,S中有一条线段连接凸壳CH(S)中不相邻顶点,另外还提出了连接平面上线段集S成一简单多边形或者简单多边形链的算法,其基本思想是首先逐层计算线段集S的凸壳,并将这些凸壳改变多边形;然后计算各多边形之间的交点,进而删去这些交点。最后合并若干个简单多边形为一个简单多边形,当S中线段数目n较大时,用分治思想可以设计分治算法,较好地求解了这个问题,利用计算机求解这个问题上有实际应用价值。

关 键 词:线段集  凸壳  简单多边形  简单多边形链  分治算法
文章编号:1003-0158(2002)01-0109-06
修稿时间:2001年9月3日

An Algorithm for Connecting Non-Intersecting Line Segments into a Simple Polygon (Line)
ZHOU Pei-de.An Algorithm for Connecting Non-Intersecting Line Segments into a Simple Polygon (Line)[J].Journal of Engineering Graphics,2002,23(1):109-114.
Authors:ZHOU Pei-de
Abstract:In this paper a practical problem is presented, i.e. how to connect n line segments in the plane into a simple polygon or a simple polygonal line.And it has proved a sufficient condition which connects line segment set S in the plane into a simple polygonal line: there is a segment in S connecting non-adjacent vertices in convex hull CH(S). Otherwise an algorithm is also presented for connecting line segment set S in the plane into a simple polygon (line), its basic idea is first to compute the convex hull of line segment set S layer by layer, and change these convex hulls into simple polygons; then compute the points of intersection between polygons, there after delete these points of intersection; finally merge some simple polygons into a simple polygon. when the number n of line segments in S is larger, the divide-and conquer algorithm can be designed using the thought of the divide-and-conquer. This problem is better solved. Solving this problem by using computers has practical value.
Keywords:line segment set  convex hull  simple polygon  simple polygonal line  algorithm  complexity
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号