I am doing some calculations to determine when to initiate a turn between 2 flight legs (joined by a fly-by waypoint at the intersection). The turn is initiated at a distance DTA before the fly-by waypoint. DTA is a formula based off the current airspeed, a known bank angle and the change in course between these 2 legs. Given 2 LatLons - A and B - , I figure out this value DTA in meters, but I'm not sure which GeographicLib methods I should use to determine the value. I seem to recall GeodesicLine or Position or something along those (pun) lines being used for interpolating values along a line (I only need this one position away from (before) the joining way-point).
Thanks
John
Last edit: John Coffey 2019-01-31
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Use the Geodesic::InverseLine method to create a GeodesicLine
representing the geodesic between your two points A and B. Then use the
GeodesicLine::Position method to return the point a certain distance
along the line from A.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am doing some calculations to determine when to initiate a turn between 2 flight legs (joined by a fly-by waypoint at the intersection). The turn is initiated at a distance DTA before the fly-by waypoint. DTA is a formula based off the current airspeed, a known bank angle and the change in course between these 2 legs. Given 2 LatLons - A and B - , I figure out this value DTA in meters, but I'm not sure which GeographicLib methods I should use to determine the value. I seem to recall GeodesicLine or Position or something along those (pun) lines being used for interpolating values along a line (I only need this one position away from (before) the joining way-point).
Thanks
John
Last edit: John Coffey 2019-01-31
Use the Geodesic::InverseLine method to create a GeodesicLine
representing the geodesic between your two points A and B. Then use the
GeodesicLine::Position method to return the point a certain distance
along the line from A.