arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1212.6038cs.CG
收藏

基于耳形裁剪的高质量多边形三角网生成算法

Ear-clipping Based Algorithms of Generating High-quality Polygon Triangulation

Gang Mei, John C. Tipper, Nengxiong Xu

摘要:

提出了一种基于耳形裁剪的简单多边形和带洞多边形三角剖分的基本算法和改进算法。在基本版本中,总是选择内角最小的耳朵进行切割,以创建更少的长条三角形。为了进一步减少狭长三角形,设置角度界限来确定新形成的三角形是否有尖角,当三角形尖锐时接受边交换。为了将这两种算法应用于带孔洞的多边形,通过创建“桥”边将带孔洞的多边形转化为退化多边形,并利用这两种算法对退化多边形进行三角剖分。应用结果表明,基本算法避免了产生狭长三角形,得到的三角剖分效果优于传统的剪耳算法,而改进算法能进一步有效地减少狭长三角形。时间复杂度为O(n),空间复杂度为O(n)。

英文摘要:

A basic and an improved ear clipping based algorithm for triangulating simple polygons and polygons with holes are presented. In the basic version, the ear with smallest interior angle is always selected to be cut in order to create fewer sliver triangles. To reduce sliver triangles in further, a bound of angle is set to determine whether a newly formed triangle has sharp angles, and edge swapping is accepted when the triangle is sharp. To apply the two algorithms on polygons with holes, "Bridge" edges are created to transform a polygon with holes to a degenerate polygon which can be triangulated by the two algorithms. Applications show that the basic algorithm can avoid creating sliver triangles and obtain better triangulations than the traditional ear clipping algorithm, and the improved algorithm can in further reduce sliver triangles effectively. Both of the algorithms run in O(n2) time and O(n) space.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑