Circle.get_point_inside

Circle.get_point_inside(n_pts: int = 1, delta: float = 0) ndarray[source]

Draw random points inside the circle.

Parameters:
  • n_pts (int, optional) – Number of points to generate.

  • delta (float, optional) – Minimum distance to keep from the boundary.

Returns:

Array of shape (n_pts, 2) containing generated points.

Return type:

np.ndarray