Closest Point

Scripts on this page are available here:

Closest_Point.js

The example script Closest_Point.js contains a function that returns the closest point with name and distance from an input point.

../_images/ClosestPoint.png

Fig. 35 The figure is showing the result of running the example script. The input point is shown in red. The closest point in this case is Point2.