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 条
  • [21] Winding numbers and eigenfunctions of the Laplacian
    Harold Donnelly
    Annals of Global Analysis and Geometry, 2013, 44 : 1 - 3
  • [22] Winding numbers and eigenfunctions of the Laplacian
    Donnelly, Harold
    ANNALS OF GLOBAL ANALYSIS AND GEOMETRY, 2013, 44 (01) : 1 - 3
  • [23] Computing the Newton Polygon of the Implicit Equation
    Emiris I.Z.
    Konaxis C.
    Palios L.
    Mathematics in Computer Science, 2010, 4 (1) : 25 - 44
  • [24] COMPUTING THE RECTILINEAR LINK DIAMETER OF A POLYGON
    NILSSON, BJ
    SCHUIERER, S
    LECTURE NOTES IN COMPUTER SCIENCE, 1991, 553 : 203 - 215
  • [25] Computing the center of area of a convex polygon
    Brab, P
    Heinrich-Litan, L
    Morin, P
    INTERNATIONAL JOURNAL OF COMPUTATIONAL GEOMETRY & APPLICATIONS, 2003, 13 (05) : 439 - 445
  • [26] An alternative approach for computing Monotone Polygon
    Dhanuka, Priyam
    Bharwani, Anandi
    Kaur, Kamaljit
    Mohanty, Manas Kumar
    Sadhu, Sanjib
    2015 INTERNATIONAL CONFERENCE ON ADVANCES IN COMPUTER ENGINEERING AND APPLICATIONS (ICACEA), 2015, : 42 - 45
  • [27] COMPUTING THE VISIBILITY POLYGON FROM AN EDGE
    LEE, DT
    LIN, AK
    COMPUTER VISION GRAPHICS AND IMAGE PROCESSING, 1986, 34 (01): : 1 - 19
  • [28] COMPUTING THE GEODESIC CENTER OF A SIMPLE POLYGON
    POLLACK, R
    SHARIR, M
    ROTE, G
    DISCRETE & COMPUTATIONAL GEOMETRY, 1989, 4 (06) : 611 - 626
  • [29] COMPUTING POLYGON FILL-LINES
    KNOTT, GD
    COMPUTERS & GRAPHICS, 1987, 11 (01) : 21 - 25
  • [30] COMPUTING THE LINK CENTER OF A SIMPLE POLYGON
    LENHART, W
    POLLACK, R
    SACK, J
    SEIDEL, R
    SHARIR, M
    SURI, S
    TOUSSAINT, G
    WHITESIDES, S
    YAP, C
    DISCRETE & COMPUTATIONAL GEOMETRY, 1988, 3 (03) : 281 - 293