高级检索

平面多边形的广义梯形分解算法

Generalized-Trapezoidal Decomposition Algorithm for Planar Polygons

  • 摘要: 针对机器刺绣和平面型腔行切加工对图形分解的要求,定义了广义梯形的概念,提出了广义梯形分解平面多边形的算法.广义梯形结合了梯形的定义和单调链的思想,广义梯形分解算法以对顶点的分类为基础,借鉴文献(Lorenzetto G P,Datta A,Thomas R C. A fast trapezoidation technique for planar polygons. Computers & Graphics, 2002, 26(2): 281~289)的快速梯形分解框架,通过扫描线方法将平面多边形分解为广义梯形.该算法能够分解内嵌多个环的复杂多边形,分析及测试表明,其时间复杂度为O(nlogn).

     

    Abstract: To meet the demand for decomposing geometric shapes by machinery embroidery and pocket machining, we put forward a definition of generalized-trapezoid and a generalized-trapezoidal decomposition algorithm. The definition of generalized-trapezoid is by integrating the trapezoid with monotone chain, and the generalized-trapezoidal decomposition algorithm is based on vertex classification and a scan line approach. It borrowed ideas from the frame of fast trapezoidation technique presented by reference (Lorenzetto G P, Datta A, Thomas R C. A fast trapezoidation technique for planar polygons. Computers & Graphics, 2002, 26(2): 281~289). The algorithm can decompose a complex planar polygon with nesting holes, and its time complexity is O(nlogn) by analysis and testing.

     

/

返回文章
返回