Derivative of CCurve

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/12/2008 at 15:02, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 11
Platform: Mac OSX ;
Language(s) : C++ ;
I need the derivative of a CCurve at a random point (not necessarily a key point).CalcHermite() works fine for the original function but not for the derivative.
If I draw a straight line in the timeline the results of the derivative should be constant but they are not.Is this a bug or am I missing something?
Thanks in advance
Macm

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/01/2009 at 09:02, xxxxxxxx wrote:
Make sure to get the tangents of the keys with CCurve::GetTangents(). Also check for the different interpolation types (linear, step). For these you have to calculate the derivative yourself.
cheers,
Matthias