Spline interpolation - Very Beginer need help
Page 1 of 1

Author:  SannaK [ Thu May 07, 2015 9:42 am ]
Post subject:  Spline interpolation - Very Beginer need help


I'm delphi developer and i would like to use interpolation for join many points.
I have a list of points in 2D Space : likeness "TList<PointF(X, Y)>"

So i wanted to use the function "Spline2DBuildBilinear" but i don't really understand how to use it.

Input parameters:
X - spline abscissas, array[0..N-1]
Y - spline ordinates, array[0..M-1]
F - function values, array[0..M-1,0..N-1]
M,N - grid size, M>=2, N>=2

Output parameters:
C - spline interpolant

So if i have 3 points { A(0,0); B(100,100); C(50,200) }
X contains [0, 100, 200] (?)
Y contains [0, 100, 50] (?)
What i should put for F ?
Same question about M and N. I guess it's something like M := 400 and N := 400 ?

Maths are so far for me, it's why i need your help. Ask me if you didn't understand something in my message.



Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group