points_to_numpy# random_shapes.points_to_numpy(points: list[Point]) → ndarray[source]# Convert a list of points to a numpy array. Parameters: points (list[Point]) – A list of points. Returns: A numpy array of shape (n, 2). Return type: np.ndarray