Page 1 of 1

Help on Interpolation splines in 3D...

Posted: 2003-04-22 08:50am
by Dahak
I know, this might be a bit far fetched, but it doesn't hurt to ask :)

For a project, I have to interpolate through N points (x, y, z) in 3D, where the ensuing curve has to go through all points.
Now I have some algorithms for splines in 2D, but I am stuck how to do it in 3D.

If there is someone out there who has a clue, please let me know :D

Re: Help on Interpolation splines in 3D...

Posted: 2003-04-22 08:56am
by Colonel Olrik
Dahak wrote:I know, this might be a bit far fetched, but it doesn't hurt to ask :)

For a project, I have to interpolate through N points (x, y, z) in 3D, where the ensuing curve has to go through all points.
Now I have some algorithms for splines in 2D, but I am stuck how to do it in 3D.

If there is someone out there who has a clue, please let me know :D
Do you have access to Matlab?

Function interp3(...,'spline')

If you don't have it, then you sure as hell should. A must for a math/science student.

Re: Help on Interpolation splines in 3D...

Posted: 2003-04-22 09:00am
by Dahak
Colonel Olrik wrote:
Dahak wrote:I know, this might be a bit far fetched, but it doesn't hurt to ask :)

For a project, I have to interpolate through N points (x, y, z) in 3D, where the ensuing curve has to go through all points.
Now I have some algorithms for splines in 2D, but I am stuck how to do it in 3D.

If there is someone out there who has a clue, please let me know :D
Do you have access to Matlab?

Function interp3(...,'spline')

If you don't have it, then you sure as hell should. A must for a math/science student.
Unfortunately, I have to program it in the Horror That Is C++...