Polygon offsetting by computing winding numbers

被引:0
|
作者
Chen, Xiaorui [1 ]
McMains, Sara [1 ]
机构
[1] Univ Calif Berkeley, Dept Mech Engn, Berkeley, CA 94720 USA
关键词
polygon offsetting; winding number; OpenGL; CAD/CAM;
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
In this paper we present a simple new algorithm to offset multiple, non-overlapping polygons with arbitrary holes that makes use of winding numbers. Our algorithm constructs an intermediate "raw offset curve" as input to the tessellator routines in the OpenGL Utility library (GLU), which calculates the winding number for each connected region. By construction, the invalid loops of our raw offset curve bound areas with non-positive winding numbers and thus can be removed by using the positive winding rule implemented in the GLU tessellator. The proposed algorithm takes O((n +k) log n) time and O(n + k) space, where n is the number of vertices in the input polygon and k is the number of self-intersections in the raw offset curve. The implementation is extremely simple and reliably produces correct and logically consistent results.
引用
收藏
页码:565 / 575
页数:11
相关论文
共 50 条
  • [31] COMPUTING THE LONGEST DIAGONAL OF A SIMPLE POLYGON
    AGGARWAL, A
    SURI, S
    INFORMATION PROCESSING LETTERS, 1990, 35 (01) : 13 - 18
  • [32] Winding Numbers, Unwinding Numbers, and the Lambert W Function
    A. F. Beardon
    Computational Methods and Function Theory, 2022, 22 : 115 - 122
  • [33] Winding Numbers, Unwinding Numbers, and the Lambert W Function
    Beardon, A. F.
    COMPUTATIONAL METHODS AND FUNCTION THEORY, 2022, 22 (01) : 115 - 122
  • [34] Decomposition of Catalan numbers and convex polygon triangulations
    Stanimirovic, Predrag S.
    Krtolica, Predrag V.
    Saracevic, Muzafer H.
    Masovic, Sead H.
    INTERNATIONAL JOURNAL OF COMPUTER MATHEMATICS, 2014, 91 (06) : 1315 - 1328
  • [35] Multiple Multiphase Combined Star-Polygon Winding Analysis
    Raziee, Seyed Morteza
    Misir, Onur
    Ponick, Bernd
    IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, 2019, 66 (10) : 7468 - 7479
  • [36] Pseudo winding numbers and the spherical ansatz
    Abouelsaood, A
    JOURNAL OF PHYSICS A-MATHEMATICAL AND GENERAL, 1997, 30 (10): : 3279 - 3284
  • [37] Flows with cyclic winding numbers groups
    Athanassopoulos, K
    JOURNAL FUR DIE REINE UND ANGEWANDTE MATHEMATIK, 1996, 481 : 207 - 215
  • [38] Modularity of generating series of winding numbers
    Bruinier, Jan H.
    Funke, Jens
    Imamoglu, Ozlem
    Li, Yingkun
    RESEARCH IN THE MATHEMATICAL SCIENCES, 2018, 5
  • [39] Polymer winding numbers and quantum mechanics
    Nelson, DR
    Stern, A
    COMPLEX BEHAVIOUR OF GLASSY SYSTEMS, 1997, 492 : 276 - 297
  • [40] TANGENT WINDING NUMBERS AND BRANCHED MAPPINGS
    QUINE, JR
    PACIFIC JOURNAL OF MATHEMATICS, 1977, 73 (01) : 161 - 167