- #1
Gepard
- 18
- 0
Hi,
I'm trying to draw a Cardinal Spline and understand them - however I can't get my head around the formula.
Now, after lots of research I keep coming back to this formula:
Ti = a * (Pi+1 - Pi-1 )
taken from this page(there's a similar one on Wikipedia): http://cubic.org/docs/hermite.htm
However I don't understand how that formula can provide a tangent. In the past all the formulae I have used have been of function types where I'd put through say the X co-ordinate and it would tell me the Y co-ordinate.
Can someone please provide a better explanation as to how I use it please?
Thanks in advance,
Michael
I'm trying to draw a Cardinal Spline and understand them - however I can't get my head around the formula.
Now, after lots of research I keep coming back to this formula:
Ti = a * (Pi+1 - Pi-1 )
taken from this page(there's a similar one on Wikipedia): http://cubic.org/docs/hermite.htm
However I don't understand how that formula can provide a tangent. In the past all the formulae I have used have been of function types where I'd put through say the X co-ordinate and it would tell me the Y co-ordinate.
Can someone please provide a better explanation as to how I use it please?
Thanks in advance,
Michael