Processing: intersection between line and circle

I needed to get the intersection between a line and a circle for a little design work I was doing with Processing. Finally it was easier than I thought thanks to PVector. In this case one of the points of the line was also the center of the circle, so I guess that puts things…