Finding Nearest Points 

Compute the nearest point in any dimension.

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

Compute formulas for the nearest point on a region in any dimension.

In[3]:=
Click for copyable input
X
Out[3]=

Create nearest functions that can be efficiently reapplied to multiple points.

In[4]:=
Click for copyable input
X
Out[4]=
show complete Wolfram Language input
Out[6]=