Thanks a lot! THAT WORKS!!! Without you I could have wasted time on trying to correct this error!
A quick google search found me this:
Detection between a circle and a line
Should be a good start.
Oops! Looks like something went wrong!
You may only upload PNG, JPG, or GIF files ()