Skip to main content

RegionNearest

RegionNearest[reg,p] gives a point in the region reg that is nearest the point p. 

RegionNearest[reg] gives a RegionNearestFunction[…] that can be repeatedly applied to points.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.