geo_direct_wgs_84 ( 0.0, rwy_lat, rwy_lon, rwy_hdg,
rwy_len / 2.0, &thresh_lat, &thresh_lon, &return_az );
cout << "Threshold = " << thresh_lat << "," << thresh_lon << endl;
geo_direct_wgs_84 ( 0.0, rwy_lat, rwy_lon, rwy_hdg,
rwy_len / 2.0, &thresh_lat, &thresh_lon, &return_az );
cout << "Threshold = " << thresh_lat << "," << thresh_lon << endl;
geo_direct_wgs_84 ( 0.0, thresh_lat, thresh_lon, rwy_hdg + 180.0,
dist_m, &nloc_lat, &nloc_lon, &return_az );
printf("New localizer = %.6f %.6f\n", nloc_lat, nloc_lon );
geo_direct_wgs_84 ( 0.0, thresh_lat, thresh_lon, rwy_hdg + 180.0,
dist_m, &nloc_lat, &nloc_lon, &return_az );
printf("New localizer = %.6f %.6f\n", nloc_lat, nloc_lon );