Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 741
    • Issues 741
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 197
    • Merge requests 197
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTKVTK
  • Issues
  • #5084
Closed
Open
Created May 22, 2007 by Kitware Robot@kwrobotOwner

Coefficients wrong for vtkKochanekSpline for 2 point special case

This issue was created automatically from an original Mantis Issue. Further discussion may take place here.


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

Assignee
Assign to
Time tracking