DiscretizeGraphics

DiscretizeGraphics[g]
discretizes a 2D or 3D graphic g into a MeshRegion.

DiscretizeGraphics[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 Circle:

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

Parallelogram:

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

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)
| Updated in 2015
(10.2)
Translate this page: