SLIDE 1
Mass Properties of the Union of Millions of Polyhedra
Wm Randolph Franklin Rensselaer Polytechnic Institute wrf@ecse.rpi.edu http://www.ecse.rpi.edu/Homepages/wrf July 15, 2003
Abstract We present UNION3, a fast algorithm for computing the volume, area, and other mass properties, of the union of many polyhedra. UNION3 is well suited for parallel machines. A prototype implementa- tion for identical random cubes has processed 20,000,000 polyhedra on a dual processor Pentium Xeon workstation in about one hour. UNION3 processes all the polyhedra in one pass instead of repeatedly combining them pair by pair. The first step finds the candidate output vertices. These are the 3-face intersections, edge-face intersec- tions, and input vertices. Next, the candidates are culled by deleting those inside any polyhedron. The volume is the sum of a function of each survivor. There is no statistical sampling. Input degeneracies are processed with Simulation Of Simplicity. Since UNION3 never explicitly determines the output polyhe- dron, messy non-manifold cases become irrelevant. No complicated topological structures are computed. UNION3’s simple flat data structures permit it to fork copies of itself to utilize multi-processor machines. The expected time is linear in the number of input, even when the number of intersections is superlinear. The principal data structure is a 3-D grid of uniform cells. Each cell records overlaps of itself with any edge, face, or polyhedron. Intersection tests are performed only between objects overlapping the same
- cell. However, if a cell is completely contained in some polyhedron, (“covered”), then no intersection
tests are performed in it, since none of those intersections would be visible. Indeed, altho there may be a cubic number of intersections, all but a linear number occur in these covered cells, and are never
- computed. Therefore the final time is linear.