RegionDistanceFunction

RegionDistanceFunction[reg,]
represents a function whose values give the distance from a point to the region reg.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Generate a region distance function for a unit disk:

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

Apply the distance function to multiple points:

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

Plot it:

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