Computing Distances and Nearest Points 

Compute the distance to the nearest point in a mesh.

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

Plot the distances.

show complete Wolfram Language input
Out[3]=

Visualize nearest points on the mesh.

show complete Wolfram Language input
Out[4]=
de es ja pt-br zh