Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. creating spline thru n points (c/c++)

creating spline thru n points (c/c++)

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++question
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    raesa
    wrote on last edited by
    #1

    :( Hi, can somebody plse tell me how do i create a spline thru n points.In my problem, i had 3d points scattered all over the space, i projected them on a plane.I am supposed to join these points with a curve and for that i have to create a spline using c/c++ program.Can anyone help me out in this.Plse do let me know.Thnx in advance.

    B 1 Reply Last reply
    0
    • R raesa

      :( Hi, can somebody plse tell me how do i create a spline thru n points.In my problem, i had 3d points scattered all over the space, i projected them on a plane.I am supposed to join these points with a curve and for that i have to create a spline using c/c++ program.Can anyone help me out in this.Plse do let me know.Thnx in advance.

      B Offline
      B Offline
      beko
      wrote on last edited by
      #2

      Natural cubic splines or clamped, check the implementation at http://www.as.ysu.edu/~faires/Numerical-Analysis/DiskMaterial/programs/C/[^] Algo 3.4 and 3.5 any numerical analysis book with interpolation section might help. Of course, due to the nature of the curve, the curve passes directly through the provided points. Bekir.

      R 1 Reply Last reply
      0
      • B beko

        Natural cubic splines or clamped, check the implementation at http://www.as.ysu.edu/~faires/Numerical-Analysis/DiskMaterial/programs/C/[^] Algo 3.4 and 3.5 any numerical analysis book with interpolation section might help. Of course, due to the nature of the curve, the curve passes directly through the provided points. Bekir.

        R Offline
        R Offline
        raesa
        wrote on last edited by
        #3

        Thnx for the help. :)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups