I recommend working with polygons for the best results!
An example of transformations

It performs the inverse of the difference function. It subtracts the second geometry from the first geometry, but here the subtracted geometries are applied in reverse.
