Skip to contents

While intersection calculation and queries are the only part of the boolean operators provided by euclid, it provides generics for the remaining ones so that other packages may fill the gap (e.g. polyclid for 2D boolean operations on polygons).


union(x, y, ...)

difference(x, y, ...)

symmetric_difference(x, y, ...)

complement(x, ...)


x, y

vectors of geometries


arguments passed on to methods


Return value will depend on the different implementations

See also

Other Boolean operations: intersection()