Home

Mass Properties of the Union of Millions of Polyhedra

Wm Randolph Franklin

Rensselaer Polytechnic Institute
aka Reich Psyc-- Institute


Goal


Application: Cutting Tool Path


Traditional N-Polygon Union


Problems With Traditional Method


Volume Determination


Rectilinear Polyhedron Volume

Vertex Classes

Properties

The output union polyhedron will be represented as a set of vertices with their neighborhoods.


Volume Computation Overview


Finding the Vertices

3 types of output vertex:

Find possible output vertices, and filter them

Isn't intersecting all triples of faces, then testing each candidate output vertex against every input cube too slow? No, if we do it right.


Use a 3D Grid

Summary

Properties:

Advantage of the Grid


Covered Cell Concept



Adding the Cubes Themselves to the Grid

If the cell size is somewhat smaller than the edge size then almost all the hidden intersections are never found. Good.

Expected time = (size(input) + size(useful intersections)).

Filter Possible Intersections

by superimposing a uniform grid on the scene.

Uniform Grid Qualities

Major disadvantage: It's so simple that it apparently cannot work, especially for nonuniform data.

Major advantage: For the operations I want to do (intersection, containment, etc), it works very well for any real data I've ever tried.


USGS Digital Line Graph

        VLSI Design         

        Mesh        

Face-Face Intersection Details


Point Containment Testing

P is a possible vertex of the output union polyhedron.

Q: Is point P contained in any input cube?

A:

The expected number of such cubes is constant, under broad conditions.


Simulation of Simplicity


Execution Time

Effect of Grid


Effect of Covered Cells


Limitations


Parallel Implementation


Implementation

Small Datasets are Fast

Large Datasets are Feasible

Why not larger datasets? Address space limitations. Creating more parallel processes thrashes the memory. We're creating separate sequential processes, but still working on the interfacing.


Implementation Validation

  1.  
    • The terms summed for the volume range up to 1015.
    • Errors would be unlikely to total to a number in [0,1].
  2.  
    • The expected volume is 1-(1-L3)N.
    • Compare to computed volume.
    • Assume that coincidental equivalence is unlikely.
  3.  
    • Construct specific, maybe degenerate, examples with known volume.

Data Validity Test

These formulae require consistent data.

Use that property to validate the input data consistency:


Real Datasets are Nonuniform!



USGS Digital Line Graph

VLSI Design (J Guilford)

Mesh (M Shephard)

Extension to General Polygons

The only data type is the incidence of an edge and a vertex, and its neighborhood. For each such:

Polygon: {(V, T, N)} (2 tuples per vertex)

Perimeter = -(V.T).            
Area = 1/2 ( V.T V.N )

Multiple nested components ok.


Extension to 3D

The only data type is the incidence of a face, an edge and a vertex, and its neighborhood. For each such:

Polyhedron: {(V, T, N, B)}

Perimeter = -1/2 (V.T)          
Area = 1/2 ( V.T V.N )

Volume = -1/6 ( V.T V.N V.B )


Intersection Volumes from Overlaying 3-D Triangulations

Existing 2-D implementation: overlay two planar graphs; find areas of all intersection regions.

E.g. overlay counties of the coterminous US against hydrography polygons. Map stats:

Map #0: 55068 vertices, 46116 edges, 2985 polygons
Map #1: 76215 vertices, 69835 edges, 2075 polygons

Total time (excluding I/O): 1.58 CPU seconds.

Future: Extend to 3-D.

Application: Interpolate some property from one triangulation to the other.


Extension: More Complicated Boolean Operations

Given a red object defined as the union of many overlapping cubes, and a similar blue one.

Moral: sometimes heuristics are necessary.


Other Possible Extensions


Summary

Guiding principles:

Allows very large datasets to be processed quickly in 3-D with algorithms where sweep lines might have problems.

A paper on this subject is at http://wrfranklin.org/research/union3/union3.pdf.

The html version of this talk is at http://wrfranklin.org/research/union3/index.html.


Dr. Wm Randolph Franklin,
Email: wrfATecse.rpi.edu
http://wrfranklin.org/
☎ +1 (518) 276-6077; Fax: 6261
ECSE Dept., 6026 JEC, Rensselaer Polytechnic Inst, Troy NY, 12180 USA
(GPG and PGP keys available)


Copyright © 1994-2003, Wm. Randolph Franklin. You may use my material for non-profit research and education, provided that you credit me, and link back to my home page.