ctu_bosch_sr450.circle_circle_intersection
Functions
|
Computes intersection of the circles defined by center c_i and radius r_i. |
Module Contents
- ctu_bosch_sr450.circle_circle_intersection.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.
- Return type:
[np.ndarray, np.ndarray]
- Parameters:
c0 (numpy.typing.ArrayLike)
r0 (float)
c1 (numpy.typing.ArrayLike)
r1 (float)