Curves conversion to Bezier and cubic_hermite are limited to degree 3
bezier_from_curve
and hermite_from_curve
only work with curves of degree <= 3 as input. Otherwise, it correctly run but output a wrong result without any warning.
How hard would it be to extend this methods to any degree ? @stonneau I did not take a look at the maths yet, do you know a link to an algo that do that ?
In the meantime we should at least test if the input is of degree <= 3 and throw an error if not, what do you think ?