I have a circle with radius "r" , centre (x1, y1). I have a straight line with starting point (x2, y2) end point (x3, y3). I want to know whether this line intersects with the circle? If yes what is/are the intersection points?
Can I find out the same even for rectangle? and some irregular shape??