How to fit a cubic Bezier curve
Posted: Thu Apr 26, 2012 8:36 am
Hello all,
I'm wondering would anyone know how to fit a cubic Bezier curve to it's derivative / integral? I mean to get a cubic Bezier curve which would be a derivative / integral curve of input cubic curve.
I read that cubic curve derivative might be obtained as quadratic Bezier curve with control points: 2(P1-P0), 2(P2-P1), 2(P3-P2) for cubic curve defined with points: P0, P1, P2, P3
Is this correct? I can't get it to work. Later I could perform a degree elevation and get a cubic curve. Am I correct? Or am I missing something?
Thanks,
I'm wondering would anyone know how to fit a cubic Bezier curve to it's derivative / integral? I mean to get a cubic Bezier curve which would be a derivative / integral curve of input cubic curve.
I read that cubic curve derivative might be obtained as quadratic Bezier curve with control points: 2(P1-P0), 2(P2-P1), 2(P3-P2) for cubic curve defined with points: P0, P1, P2, P3
Is this correct? I can't get it to work. Later I could perform a degree elevation and get a cubic curve. Am I correct? Or am I missing something?
Thanks,