Finds the closest point on a polygon boundary.
The query point
The polygon ring
The closest boundary point and its distance
Finds the closest point on a polygon boundary.