Function closestPointCircle

Returns the closest point on a circle to a given point