BoundaryDiscretizeGraphics

BoundaryDiscretizeGraphics[g]
discretizes a 2D or 3D graphic g into a BoundaryMeshRegion.

BoundaryDiscretizeGraphics[g,patt]
discretizes only the elements in g that match the pattern patt.

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Discretize a 2D special region including Disk:

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

Parallelogram:

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

Discretize 3D special regions including Cone:

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

Prism:

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

Discretize a whole 2D Graphics scene, where multiple primitives are taken as a union:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Introduced in 2014
(10.0)