Point containment algorithms for constructive solid geometry with unbounded primitives
Paul K. Romano, Patrick A. Myers, Seth R. Johnson, Alja\v{z} Kol\v{s}ek, Patrick C. Shriwise

TL;DR
This paper introduces new point containment algorithms for CSG with unbounded primitives, demonstrating significant performance improvements in particle transport simulations by leveraging prefix and infix notations over traditional postfix methods.
Contribution
The paper presents novel algorithms for point containment in CSG with unbounded primitives, utilizing prefix and infix notations to enable short-circuiting and improve computational efficiency.
Findings
Infix notation reduces execution time by 6x compared to postfix.
Prefix and infix algorithms significantly speed up rasterization and neutron transport simulations.
Infix notation achieves a 4.59x overall speedup in particle transport simulations.
Abstract
We present several algorithms for evaluating point containment in constructive solid geometry (CSG) trees with unbounded primitives. Three algorithms are presented based on postfix, prefix, and infix notations of the CSG binary expression tree. We show that prefix and infix notations enable short-circuiting logic, which reduces the number of primitives that must be checked during point containment. To evaluate the performance of the algorithms, each algorithm was implemented in the OpenMC Monte Carlo particle transport code, which relies on CSG to represent solid bodies through which subatomic particles travel. Two sets of tests were carried out. First, the execution time to generate a high-resolution rasterized image of a 2D slice of a detailed CSG model of the ITER tokamak was measured. Use of both prefix and infix notations offered significant speedup over the postfix notation that…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsComputational Geometry and Mesh Generation · Digital Image Processing Techniques · Advanced Numerical Analysis Techniques
