RegionNearestFunction

RegionNearestFunction[reg,]
represents a function whose values give the nearest point in the region reg.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Generate a region nearest function for a unit disk:

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

Apply the distance function to multiple points:

In[8]:=
Click for copyable input
Out[9]//Short=
In[10]:=
Click for copyable input
Out[10]=
Introduced in 2014
(10.0)