-noinst_LIBRARIES = libGenFans.a
+noinst_LIBRARIES = libCombine.a
-libGenFans_a_SOURCES = genfans.cxx genfans.hxx
+libCombine_a_SOURCES = genfans.cxx genfans.hxx
INCLUDES += \
-I$(top_builddir) \
}
++counter;
}
- cout << "triangle pool = " << tris.size() << endl;
- cout << "biggest_group = " << biggest_group.size() << endl;
- cout << "center node = " << index << endl;
+ // cout << "triangle pool = " << tris.size() << endl;
+ // cout << "biggest_group = " << biggest_group.size() << endl;
+ // cout << "center node = " << index << endl;
// make the best fan we can out of this group
int_list best_fan = make_best_fan( tris, index, biggest_group );
}
node_list.push_back( t.get_n3() );
}
- cout << "best list size = " << node_list.size() << endl;
+ // cout << "best list size = " << node_list.size() << endl;
// add this fan to the fan list
fans.push_back( node_list );
// $Log$
+// Revision 1.5 1999/03/31 23:46:49 curt
+// Debugging output tweaks.
+//
// Revision 1.4 1999/03/31 13:26:39 curt
// Debugging output tweeaks.
//
cout << "total triangles = " << tri_elements.size() << endl;
FGGenFans f;
for ( int i = 0; i < FG_MAX_AREA_TYPES; ++i ) {
- cout << "generating fans for area = " << i << endl;
-
triele_list area_tris;
area_tris.erase( area_tris.begin(), area_tris.end() );
}
if ( (int)area_tris.size() > 0 ) {
+ cout << "generating fans for area = " << i << endl;
fans[i] = f.greedy_build( area_tris );
}
}
// $Log$
+// Revision 1.10 1999/03/31 23:46:57 curt
+// Debugging output tweaks.
+//
// Revision 1.9 1999/03/31 13:26:40 curt
// Debugging output tweeaks.
//
#include <Math/fg_geodesy.hxx>
#include <Math/point3d.hxx>
-#include <GenFans/genfans.hxx>
+#include <Combine/genfans.hxx>
#include <Main/construct_types.hxx>
#include <Triangulate/triangle.hxx>
// $Log$
+// Revision 1.9 1999/03/31 23:46:58 curt
+// Debugging output tweaks.
+//
// Revision 1.8 1999/03/30 23:50:44 curt
// Modifications to fanify by attribute.
//
$(top_builddir)/Tools/Construct/Array/libArray.a \
$(top_builddir)/Tools/Construct/Clipper/libClipper.a \
$(top_builddir)/Tools/Construct/GenOutput/libGenOutput.a \
- $(top_builddir)/Tools/Construct/GenFans/libGenFans.a \
+ $(top_builddir)/Tools/Construct/Combine/libCombine.a \
$(top_builddir)/Tools/Construct/Triangulate/libTriangulate.a \
$(top_builddir)/Tools/Lib/Polygon/libPolygon.a \
$(top_builddir)/Tools/Lib/Triangle/libTriangle.a \
string output_base = argv[2];
// lon = -146.248360; lat = 61.133950; // PAVD (Valdez, AK)
- // lon = -110.664244; lat = 33.352890; // P13
+ lon = -110.664244; lat = 33.352890; // P13
// lon = -93.211389; lat = 45.145000; // KANE
- lon = -92.486188; lat = 44.590190; // KRGK
+ // lon = -92.486188; lat = 44.590190; // KRGK
// lon = -89.744682312011719; lat= 29.314495086669922;
// lon = -122.488090; lat = 42.743183; // 64S
// lon = -114.861097; lat = 35.947480; // 61B
// lon = -112.012175; lat = 41.195944; // KOGD
// lon = -90.757128; lat = 46.790212; // WI32
+ // lon = -122.220717; lat = 37.721291; // KOAK
double min_x = lon - 1;
double min_y = lat - 1;
FGBucket b_min( min_x, min_y );
FGBucket b_max( lon + 1, lat + 1 );
- // FGBucket b(566664L);
+ FGBucket b_omit(550314L);
// FGBucket b(-146.248360, 61.133950);
// construct_tile( work_base, output_base, b );
// exit(0);
for ( i = 0; i <= dx; i++ ) {
b_cur = fgBucketOffset(min_x, min_y, i, j);
- // if ( b_cur != b ) {
- construct_tile( work_base, output_base, b_cur );
- // }
+ if ( b_cur != b_omit ) {
+ construct_tile( work_base, output_base, b_cur );
+ }
}
}
// string answer; cin >> answer;
// $Log$
+// Revision 1.15 1999/03/31 23:47:02 curt
+// Debugging output tweaks.
+//
// Revision 1.14 1999/03/31 13:26:41 curt
// Debugging output tweeaks.
//
cout << "prepairing node list and polygons" << endl;
for ( int i = 0; i < FG_MAX_AREA_TYPES; ++i ) {
- cout << "area type = " << i << endl;
+ // cout << "area type = " << i << endl;
current = gpc_polys.polys[i].begin();
last = gpc_polys.polys[i].end();
for ( ; current != last; ++current ) {
int i1, i2;
point_list node_list = in_nodes.get_node_list();
for ( int i = 0; i < FG_MAX_AREA_TYPES; ++i ) {
- cout << "area type = " << i << endl;
+ // cout << "area type = " << i << endl;
tripoly_list_iterator tp_current, tp_last;
tp_current = polylist[i].begin();
tp_last = polylist[i].end();
// $Log$
+// Revision 1.14 1999/03/31 23:47:09 curt
+// Debugging output tweaks.
+//
// Revision 1.13 1999/03/29 13:11:07 curt
// Shuffled stl type names a bit.
// Began adding support for tri-fanning (or maybe other arrangments too.)