Generic function
Returns a region that contains all points in the region region1 that are not in the region region2 (possibly plus additional boundary points to make the result closed).
region-difference region1 region2 => region
<region>.
<region>.
<region>.
duim-geometryduim-geometryReturns a region that contains all points in the region region1 that are not in the region region2 (possibly plus additional boundary points to make the result closed).
The result of region-difference has the same dimensionality as region1, or is $nowhere. For example, the difference of an area and a path produces the same area; the difference of a path and an area produces the path clipped to stay outside of the area.
Note: region-difference may return either a simple region or a region set.