RegionDifference

RegionDifference[reg1,reg2]

represents the region difference of the regions reg1 and reg2.

Details

Examples

open allclose all

Basic Examples  (3)

Difference of two disks:

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

Discretize the region to visualize it:

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

Difference of two balls:

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

Difference of two MeshRegion objects:

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

Scope  (16)

Applications  (3)

Properties & Relations  (4)

Possible Issues  (1)

See Also

RegionUnion  RegionIntersection  RegionSymmetricDifference  BooleanRegion

Introduced in 2014
(10.0)