verse.utils.utils.has_corner_inside

verse.utils.utils.has_corner_inside(rect1: Tuple[ndarray | Sequence[float], float, float, float], rect2: Tuple[ndarray | Sequence[float], float, float, float]) bool

Check if rect1 has a corner inside rect2

Parameters:
  • rect1 – (center, length, width, angle)

  • rect2 – (center, length, width, angle)