01 How does intersection of line and circle work?

When determining the intersection points of a bearing line and a circle, the calculation is based on the line start coordinates and their direction as well as the center coordinate of the circle and its radius.