Intersection of a line and a circle