nearPointOnCircle function