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).

Usage

union(x, y, ...)

difference(x, y, ...)

symmetric_difference(x, y, ...)

complement(x, ...)

Arguments

x, y

vectors of geometries

...

arguments passed on to methods

Value

Return value will depend on the different implementations

See also

Other Boolean operations: intersection()