How to get Intersection point from two lines (coordinates)

المشرف العام

Administrator
طاقم الإدارة
I have tried for ages to find the algorithm for getting the coordinate of two intersecting lines from a given coordinate (latlong).

As the picture below suggest. I have two coordinates (A and B). With these two coordinates, comes two bearings or directions. I am looking for a way to find coordinate of C, when the lines intersect.



Note: I am going to build it into a Java / C# Application. If there exist an library that already contains the math, that would help too.

Thank you in advance.



أكثر...
 
أعلى