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