English

Finite Boolean Algebras for Solid Geometry using Julia's Sparse Arrays

Computational Geometry 2026-01-05 v3

Abstract

The goal of this paper is to introduce a new method in computer-aided geometry of solid modeling. We put forth a novel algebraic technique to evaluate any variadic expression between polyhedral d-solids (d = 2, 3) with regularized operators of union, intersection, and difference, i.e., any CSG tree. The result is obtained in three steps: first, by computing an independent set of generators for the d-space partition induced by the input; then, by reducing the solid expression to an equivalent logical formula between Boolean terms made by zeros and ones; and, finally, by evaluating this expression using bitwise operators. This method is implemented in Julia using sparse arrays. The computational evaluation of every possible solid expression, usually denoted as CSG (Constructive Solid Geometry), is reduced to an equivalent logical expression of a finite set algebra over the cells of a space partition, and solved by native bitwise operators.

Keywords

Cite

@article{arxiv.1910.11848,
  title  = {Finite Boolean Algebras for Solid Geometry using Julia's Sparse Arrays},
  author = {Alberto Paoluzzi and Vadim Shapiro and Antonio DiCarlo and Giorgio Scorzelli and Elia Onofri},
  journal= {arXiv preprint arXiv:1910.11848},
  year   = {2026}
}

Comments

revised version submitted to Computer-Aided Geometric Design

R2 v1 2026-06-23T11:55:12.614Z