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 Options

Examples

open allclose all

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]=

Scope  (15)

Options  (23)

Applications  (3)

Properties & Relations  (9)

Possible Issues  (4)

See Also

BoundaryMeshRegion  DiscretizeGraphics  BoundaryDiscretizeRegion  FindMeshDefects  RepairMesh

Introduced in 2014
(10.0)
| Updated in 2015
(10.2)