01 How does intersection of two circles work?

In this function the intersection points of two circles are calculated, which are defined by the respective center and radius.