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[2]:=
Click for copyable input
Out[2]//Short=
In[3]:=
Click for copyable input
Out[3]=
Introduced in 2014
(10.0)