]> git.mxchange.org Git - flightgear.git/blobdiff - Main/construct.cxx
Added GenOutput/
[flightgear.git] / Main / construct.cxx
index 2857b3a75110ad0772040e0a88da3b76fcdb6ecd..629df1918158945ddafcfcc92100528ed0ca0243 100644 (file)
@@ -29,6 +29,7 @@
 
 #include <Array/array.hxx>
 #include <Clipper/clipper.hxx>
+#include <GenOutput/genobj.hxx>
 #include <Triangulate/triangle.hxx>
 
 
@@ -166,8 +167,10 @@ main(int argc, char **argv) {
 
     string work_base = argv[1];
    
-    lon = -146.248360; lat = 61.133950;  // PAVD (Valdez, AK)
-    // lon = -110.664244; lat = 33.352890;  // P13
+    // lon = -146.248360; lat = 61.133950;     // PAVD (Valdez, AK)
+    // lon = -110.664244; lat = 33.352890;     // P13
+    // lon = -93.211389; lat = 45.145000;      // KANE
+    // lon = -92.486188; lat = 44.590190;      // KRGK
     lon = -89.744682312011719; lat= 29.314495086669922;
 
     FGBucket b( lon, lat );
@@ -183,10 +186,28 @@ main(int argc, char **argv) {
     // triangulate the data for each polygon
     FGTriangle t;
     do_triangulate( array, clipper, t );
+
+    // generate the output
+    fgGenOutput( t );
 }
 
 
 // $Log$
+// Revision 1.7  1999/03/22 23:48:29  curt
+// Added GenOutput/
+//
+// Revision 1.6  1999/03/21 15:48:01  curt
+// Removed Dem2node from the Tools fold.
+// Tweaked the triangulator options to add quality mesh refinement.
+//
+// Revision 1.5  1999/03/21 14:02:05  curt
+// Added a mechanism to dump out the triangle structures for viewing.
+// Fixed a couple bugs in first pass at triangulation.
+// - needed to explicitely initialize the polygon accumulator in triangle.cxx
+//   before each polygon rather than depending on the default behavior.
+// - Fixed a problem with region attribute propagation where I wasn't generating
+//   the hole points correctly.
+//
 // Revision 1.4  1999/03/20 20:32:54  curt
 // First mostly successful tile triangulation works.  There's plenty of tweaking
 // to do, but we are marching in the right direction.