290 COMPUTER AIDED ENGINEERING DESIGN
9.7 Boolean Operations on Polygons
Boolean operations are set theoretical operations performed on basic shapes to evolve more complex
definitions. Some basic Boolean operations are union, intersection and negation denoted by ∪,∩
and –, respectively as discussed in Chapter 8. All sets in the Euclidean space E^3 are not suitable for
geometrical representation and set theoretical operations. A subset of E^3 that is bounded, closed,
regular and semi analytic are only suitable for geometrical representation. They are called regularized
sets or r-sets. Under the conventional Boolean operations, r-sets are not algebraically closed, but they
are closed under the regularized set union, intersection and difference denoted by ∪,∩ and –* as
explained in Chapter 8.
An algorithm for determining the regularized Boolean for polygons is given below. Consider two
given polygons A and B (Figure 9.18) constituting of vertices and connecting edges such that the
boundaries are traversed in the counterclockwise fashion.
Level 0Level 0Level 1Level 1Level 20 1 230 1 2 3
(a) Level 1 (b) Level 2Level 0Level 110 11 12 130 1 2 310 11 12 13Level 3(c) Level 3100 101 102 103Level 2Figure 9.16 The quadtree structure for semi-circular lamina in Figure 9.15Figure 9.17 (a) Quadtree decomposition with equilateral triangles and (b) scheme of decomposition10
32(a) (b)