Circle.is_inside

Circle.is_inside(point: tuple[ndarray, ndarray], delta: float = 0, for_all: bool = True) bool

Check whether one or several points lie inside the ellipse.

Parameters:
  • point (tuple[np.ndarray, np.ndarray] | np.ndarray) – Point or set of points to test.

  • delta (float, optional) – Additional margin added to the semi-axis lengths.

  • for_all (bool, optional) – If True, return a single boolean for all points.

Returns:

Inclusion test result.

Return type:

bool | np.ndarray