Click here to Skip to main content
15,947,958 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i need to draw a multiple line for the multiple x & y data in zedgraph. now my problem i want to get the intersection points(meeting point) of two lines.i don't have an idea to get that kindly help me guys.

What I have tried:

i don't have an idea to get that
Posted
Updated 12-May-19 21:53pm
Comments
Patrice T 13-May-19 3:35am    
This is not a programming problem, this is maths.
Try to Google about 'lines intersection'

1 solution

The only solution is to calculate - point-pair wise.
Here you have to iterate through each series, calculate the point-pairs and try if it matches/crosses one of the other series and each of their point-pairs.
https://www.google.de/search?ei=NiLZXK_sEZKbkwXc2qnwBA&q=calculate+crossing+point+two+lines&oq=crossing+point+cal&gs_l=psy-ab.1.1.0i19j0i22i30i19l3.1804.3619..6448...0.0..0.134.469.1j3......0....1..gws-wiz.......0i71j0j0i22i30j0i22i10i30i19.F3RoeCHXmfE
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900