import numpy as np
from numpy.lib.function_base import angle

# Returns a circle with unary diameter
def generate_circle_points_func(n: int) -> np.ndarray:
    # List of angles
    angles: np.ndarray = np.linspace(0, 2 * np.pi, num=n)

    # Create circle
    circle: np.ndarray = np.zeros((n, 2))
    circle[:, 0] = 0.5 * np.cos(angles)
    circle[:, 1] = 0.5 * np.sin(angles)

    return np.copy(circle)