Hi guys, do you maybe know how to find an intersection point between line and circle and generally.

I know they don’t share same point but I need the closest one.

Is the only way to compare array of points and find similar numbers or there is easier solution?

Thanks!