Layer-based representation of polyhedrons for point containment tests

被引:9
作者
Wang, Wencheng [1 ]
Li, Jing
Sun, Hanqiu
Wu, Enhua
机构
[1] Chinese Acad Sci, Inst Software, State Key Lab Comp Sci, Beijing 100080, Peoples R China
[2] Chinese Acad Sci, Grad Univ, Beijing 100080, Peoples R China
[3] Chinese Univ Hong Kong, Dept Comp Sci & Engn, Shatin, Hong Kong, Peoples R China
[4] Univ Macau, Fac S&T, Dept Comp & Informat Sci, Macau, Peoples R China
关键词
computational geometry; polyhedron; point containment; solid representation;
D O I
10.1109/TVCG.2007.70407
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper presents the layer-based representation of polyhedrons and its use for point-in-polyhedron tests. In the representation, the facets and edges of a polyhedron are sequentially arranged, and so, the binary search algorithm is efficiently used to speed up inclusion tests. In comparison with conventional representation for polyhedrons, the layer-based representation that we propose greatly reduces the storage requirement because it represents much information implicitly though it still has a storage complexity O(n). It is simple to implement and robust for inclusion tests because many singularities are erased in constructing the layer-based representation. By incorporating an octree structure for organizing polyhedrons, our approach can run at a speed comparable with Binary Space Partitioning ( BSP)-based inclusion tests and, at the same time, greatly reduce storage and preprocessing time in treating large polyhedrons. We have developed an efficient solution for point-in-polyhedron tests, with the time complexity varying between O(n) and O(logn), depending on the polyhedron shape and the constructed representation, and less than O(log(3)n) in most cases. The time complexity of preprocess is between O(n) and O(n(2)), varying with polyhedrons, where n is the edge number of a polyhedron.
引用
收藏
页码:73 / 83
页数:11
相关论文
共 26 条
  • [1] Abrash Michael, 1997, Michael Abrashs graphics programming black book
  • [2] [Anonymous], 2000, COMPUTATIONAL GEOMET
  • [3] Signed distance computation using the angle weighted pseudonormal
    Bærentzen, JA
    Aanæs, H
    [J]. IEEE TRANSACTIONS ON VISUALIZATION AND COMPUTER GRAPHICS, 2005, 11 (03) : 243 - 253
  • [4] SOLID REPRESENTATION AND OPERATION USING EXTENDED OCTREES
    BRUNET, P
    NAVAZO, I
    [J]. ACM TRANSACTIONS ON GRAPHICS, 1990, 9 (02): : 170 - 197
  • [5] CARVALHO P. C. P., 1995, GRAPHICS GEMS, P42
  • [6] DYNAMIC PERFECT HASHING - UPPER AND LOWER BOUNDS
    DIETZFELBINGER, M
    KARLIN, A
    MEHLHORN, K
    AUFDERHEIDE, FM
    ROHNERT, H
    TARJAN, RE
    [J]. SIAM JOURNAL ON COMPUTING, 1994, 23 (04) : 738 - 761
  • [7] Inclusion test for general polyhedra
    Feito, FR
    Torres, JC
    [J]. COMPUTERS & GRAPHICS, 1997, 21 (01) : 23 - 30
  • [8] FOLEY JD, 1999, COMPUTER GRAPHICS PR, P96
  • [9] Frisken SF, 2000, COMP GRAPH, P249, DOI 10.1145/344779.344899
  • [10] Glassner A. S., 1989, An Introduction to Ray Tracing