MantisBT - VTK
View Issue Details
0005084VTK(No Category)public2007-05-23 15:382016-08-12 09:54
Bill McGrory 
Will Schroeder 
normalmajoralways
closedmoved 
 
 
0005084: Coefficients wrong for vtkKochanekSpline for 2 point special case
vtkKochanekspline::Fit1D sets the second coefficient for the 2 point specialization incorrectly.


If the interval is anything other than 0->1, then the interpolation will be incorrect.

Correct value is
 coefficients[0][1] = (y[1] - y[0]);

Not
coefficients[0][1] = (y[1] - y[0]) / (x[1] - x[0]);

This is line 228 of vtkKochanekSpline.cxx
No tags attached.
Issue History
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2016-08-12 09:54Kitware RobotNote Added: 0036914
2016-08-12 09:54Kitware RobotStatusexpired => closed
2016-08-12 09:54Kitware RobotResolutionopen => moved

Notes
(0036914)
Kitware Robot   
2016-08-12 09:54   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.