Layer-based representation of polyhedrons for point containment tests
Related Experiment Video
Updated: Jul 10, 2026

Origami Inspired Self-assembly of Patterned and Reconfigurable Particles
Published on: February 4, 2013
Wencheng Wang1, Jing Li, Hanqiu Sun
1State Key Laboratory of Computer Science, Institute of Software, Chinese Academy of Sciences, Beijing, China. whn@ios.ac.cn
Abstract:
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 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(log3n) in most cases. The time complexity of preprocess is between O(n) and O(n2), varying with polyhedrons, where n is the edge number of a polyhedron.
Related Concept Videos
Graphical Representation of Inequalities
Newman Projections
The organic molecules rotate across the single bonds leading to numerous temporary three-dimensional structures of varying energy known as conformers.
Metallic Solids
All metallic solids exhibit high thermal and electrical conductivity, metallic luster, and malleability. Many...
Plastic Deformations of Members with a Single Plane of Symmetry
First Law: Particles in Two-dimensional Equilibrium
Newton's first law tells us about the...
Polymer Classification: Architecture

