From a0a32fccea6dd4612da7eab8ec549d7d5fd5a507 Mon Sep 17 00:00:00 2001 From: curt Date: Thu, 17 Sep 1998 18:40:42 +0000 Subject: [PATCH] Debug message tweaks. --- GenAirports/convex_hull.cxx | 7 +++++-- GenAirports/main.cxx | 10 ++++++---- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/GenAirports/convex_hull.cxx b/GenAirports/convex_hull.cxx index aaa2f499e..5905c4922 100644 --- a/GenAirports/convex_hull.cxx +++ b/GenAirports/convex_hull.cxx @@ -235,7 +235,7 @@ list_container convex_hull( list_container input_list ) } // translate back to correct lon/lat - printf("Final sorted convex hull\n"); + // printf("Final sorted convex hull\n"); con_hull.erase( con_hull.begin(), con_hull.end() ); map_current = radians_map.begin(); map_last = radians_map.end(); @@ -246,7 +246,7 @@ list_container convex_hull( list_container input_list ) result.x = cos(p.theta) * p.dist + average.x; result.y = sin(p.theta) * p.dist + average.y; - printf("%.6f %.6f\n", result.x, result.y); + // printf("%.6f %.6f\n", result.x, result.y); con_hull.push_back(result); } @@ -256,6 +256,9 @@ list_container convex_hull( list_container input_list ) // $Log$ +// Revision 1.4 1998/09/17 18:40:42 curt +// Debug message tweaks. +// // Revision 1.3 1998/09/09 20:59:55 curt // Loop construct tweaks for STL usage. // Output airport file to be used to generate airport scenery on the fly diff --git a/GenAirports/main.cxx b/GenAirports/main.cxx index a363472b8..475ae10ea 100644 --- a/GenAirports/main.cxx +++ b/GenAirports/main.cxx @@ -89,14 +89,13 @@ void process_airport( string last_airport, list < string > & runway_list, } } - printf("Runway points in degrees\n"); + // printf("Runway points in degrees\n"); current = apt_list.begin(); last = apt_list.end(); for ( ; current != last; ++current ) { - // printf( "(%.4f, %.4f)\n", - printf( "%.5f %.5f\n", current->lon, current->lat ); + // printf( "%.5f %.5f\n", current->lon, current->lat ); } - printf("\n"); + // printf("\n"); // generate convex hull hull_list = convex_hull(apt_list); @@ -281,6 +280,9 @@ int main( int argc, char **argv ) { // $Log$ +// Revision 1.5 1998/09/17 18:40:43 curt +// Debug message tweaks. +// // Revision 1.4 1998/09/09 20:59:56 curt // Loop construct tweaks for STL usage. // Output airport file to be used to generate airport scenery on the fly -- 2.39.2