ctu_bosch_sr450.circle_circle_intersection ========================================== .. py:module:: ctu_bosch_sr450.circle_circle_intersection Functions --------- .. autoapisummary:: ctu_bosch_sr450.circle_circle_intersection.circle_circle_intersection Module Contents --------------- .. py:function:: circle_circle_intersection(c0, r0, c1, r1) Computes intersection of the circles defined by center c_i and radius r_i. Returns empty array if there is no solution, two solutions otherwise. If there are infinite number of solutions, select two randomly. :param c0: Center of the first circle. :param r0: Radius of the first circle. :param c1: Center of the second circle. :param r1: Radius of the second circle. :returns: List of two points (intersections) or empty list if there is no intersection. :rtype: [np.ndarray, np.ndarray]