title: Circle line-segment collision detection algorithm?
body: <p>I have a line from A to B and a circle positioned at C with the radius R. </p>
  
  <p><img src="https://i.stack.imgur.com/QpgMZ.png" alt="Image"></p>
  
  <p>What is a good algorithm to use to check whether the line intersects the circle? And at what coordinate along the circles edge it occurred?</p>