任意退化多边形的裁剪
Clipping of Arbitrary Polygons with Degeneracies
摘要:
多边形裁剪是任意拉格朗日-欧拉方法、计算机图形学、GIS和CAD中的一种常见操作。事实上,裁剪算法被认为是计算机图形学中最重要的操作之一。因此,高效、通用的多边形裁剪算法具有重要意义。Greiner等人开发了一种时间有效的算法,可以裁剪任意多边形,包括凹多边形和自交多边形。然而,Greiner-Hormann算法不能正确处理退化情况,而不需要扰动顶点。我们提出了一个扩展的Greiner-Hormann多边形裁剪算法,适当处理退化的情况。我们结合Kim等人提出的方法和Liu等人提到的方法来去除或正确标记退化情况。此外,该算法避免了计算中点的需要,不需要额外的进入/退出标志,并避免改变原始Greiner-Hormann算法中使用的顶点数据结构,这是由Kim等人提出的扩展所需要的。
英文摘要:
Polygon clipping is a frequent operation in Arbitrary Lagrangian-Eulerian methods, Computer Graphics, GIS, and CAD. In fact, clipping algorithms are said to be one of the most important operations in computer graphics. Thus, efficient and general polygon clipping algorithms are of great importance. Greiner et al. developed a time efficient algorithm which could clip arbitrary polygons, including concave and self intersecting polygons. However, the Greiner-Hormann algorithm does not properly handle degenerate cases, without the undesirable need for perturbing vertices. We present an extension to the Greiner-Hormann polygon clipping algorithm which properly deals with degenerate cases. We combine the method proposed by Kim et al. and the method mentioned by Liu et al. to remove or properly label degenerate cases. Additionally, the algorithm presented avoids the need for calculating midpoints, doesn't require additional entry/exit flags, and avoids changing the vertex data structure used in the original Greiner-Hormann algorithm, which was required by the extension presented by Kim et al.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。