def METHOD_NAME(angle, min_angle=-math.pi):
    """
    Returns angle between O and 2 pi.
    """
    max_angle = min_angle + vm.TWO_PI
    angle = angle % vm.TWO_PI
    if math.isclose(angle, min_angle, abs_tol=1e-9):
        return min_angle
    if math.isclose(angle, max_angle, abs_tol=1e-9):
        return max_angle
    return angle