circle_overlap_checker

nrv.utils.geom.circle_overlap_checker(c: ndarray, r: float, c_comp: ndarray, r_comp: ndarray, delta: float = 0) ndarray[bool][source]

Check if a cicle of center c and radius r overlap with a list of circles of center c_comp and radius r_comp

Parameters:
  • c (np.ndarray) – 2D position of the center of the circle.

  • r (float) – radius of the circle.

  • c_comp (np.ndarray) – Array, or shape listing the 2D position of the center of the circles to compare.

  • r_comp (np.ndarrayn) – Array listing the radius of the circles to compare.

  • delta (float, optional) – Additional extra space between circles perimeter, by default 0.

Return type:

np.ndarray[bool]