I am trying to detect the intersection of a circle with a line and work out the one (tangent) or two (secant) points on the line where the intersection occurs. I want to exclude intersections which are not between the two points which define the line.
There are many solutions on the internet, videos, SO posts, which all provide very good answers to the base of this question, but I can't find anything which includes "intersections only between the line end points".
My best reference so far is: Circle line-segment collision detection algorithm? However, as I mention, implementing this returns intersections which are anywhere on the vector, not just the on particular line specified, between it's ends.
To explain: If the circle in this diagram were to intersect the line, I am only looking for intersections which occur between points A and B, not outside.