高级检索

一种基于区域划分的自相交多边形分解算法

A self-intersecting polygon decomposition algorithm based on region partition

  • 摘要: 多边形分解在计算机图形学、CAD软件和路径规划等领域中得到广泛应用. 其自相交多边形因存在交点导致后续计算和绘图操作中的错误和不准确性. 自相交多边形分解算法是CAD应用中常见的难题之一传, 统的自相交多边形分解算法主要基于三角剖分的方法, 将自相交多边形划分为多个非重叠三角形, 并将这些三角形合并成简单多边形. 然而, 这种方法分解出的三角形数量较为庞大, 增加了计算和存储的复杂度. 本文提出了一种新型的自相交多边形分解算法, 能够将自相交多边形分解成无重叠区域的简单多边形. 与传统方法相比, 本文将基于三角形的分解算法拓展到凸多边形. 这种算法的优点在于, 它能够保持原始多边形的凸性, 从而更好地保留原始形状的信息. 此外, 该算法减少了生成三角形的数量, 降低了算法计算和存储的复杂度.

     

    Abstract: Polygon decomposition has been widely employed in the fields of computer graphics, CAD software, and path planning. In particular, self-intersecting polygons pose a challenge in CAD applications due to the presence of intersection points, which can lead to errors and inaccuracies in subsequent calculations and rendering operations. Traditional algorithms for decomposing self-intersecting polygons primarily rely on triangulation, dividing the self-intersecting polygon into multiple non-overlapping triangles and subsequently merging them into simple polygons. However, this approach results in a substantial number of triangles, increasing the complexity of computation and storage. In this paper, we propose a novel algorithm for decomposing self-intersecting polygons into non-overlapping regions of simple polygons. In contrast to conventional methods, our approach extends the triangulation-based decomposition algorithm to convex polygons. The advantage of this algorithm lies in its ability to preserve the convexity of the original polygon, thereby better retaining the information of the original shape. Additionally, the algorithm reduces the number of generated triangles, thereby lowering the complexity of computation and storage.

     

/

返回文章
返回