def get_approximation_points(bspline):
    result = []
    for i in range(0, len(bspline) - 3, 3):
        result.extend(approximate_cubic_bezier(
            bspline[i], bspline[i+1], bspline[i+2], bspline[i+3],
            threshold=4.0,
            limit=100,
        )[:-1])
    result.append(bspline[-1])
    return result
Return root package and all sub-packages.
dataset/ETHPy150Open Microsoft/ivy/ivy/dot_layout.py/get_approximation_points--crossover with--dataset/ETHPy150Open ofpiyush/hedwig-py/setup.py/get_packages