Search code examples
c#.netgraphspline

Searching intersection point of two splines in graph


I am stuck at this point. I am trying to find where two lines in graph intersects. I have 10 points for each spline, but they intersects between this points.

I am using c# graph. (System.Windows.Forms.DataVisualization.Charting.Chart chart2;) Do you have an idea how to solve this?

Here is this situation. Points are measured manually so there is minimum posibility that it will intersetcs on this given points.

enter image description here


Solution

  • I found the solution, I used least squares theory and polynomial function to represent equation of curve and after that solve the equation. If anybody needs solution just write me.