Hi,

I have implemented the cardinal spline curve. ref link:-

http://www.ibiblio.org/e-notes/Splines/Cardinal.htm
My requirement is to get the Y Value along the spline curve for a given x.Please look at the image attached below.

Here P1,P2,P3,P4 are my Points and cardinal spline passes through these points. But how can I find the point along the curve whose x-value is given.How can I find out the point of intersection?