RegionDifference

RegionDifference[reg1,reg2]

gives the difference of the regions reg1 and reg2.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Difference of two disks:

In[1]:=
Click for copyable input

Visualize it:

In[2]:=
Click for copyable input
Out[2]=

Difference of two MeshRegion objects:

In[1]:=
Click for copyable input
Out[1]=

Scope  (12)

Applications  (4)

Properties & Relations  (5)

Possible Issues  (1)

Neat Examples  (1)

See Also

RegionUnion  RegionIntersection  RegionSymmetricDifference  BooleanRegion

Introduced in 2014
(10.0)
| Updated in 2017
(11.2)