I want to calculate an approximate location based on these inputs:
- 3 locations identified by latitude and longitude anywhere on a planet
- 3 angles, indicating the approximate direction from each of the 3 locations. For example, 0 degrees would be north, 90 degrees would be east, and so on.
The 3 angles will have some margin of error, so the 3 lines are unlikely to intersect exactly, and are likely to form a triangle, from which we can calculate some estimated area of interest. For example, we might calculate the center of the triangle, then draw a circle from that center that has the same areas as the triangle.
I would like to implement this in a computer program, where I can input the 3 locations, the 3 angles, and have it output a single location and radius.