1 // test new bucket routines
3 #include "newbucket.cxx"
7 double lon = -110.0 + 0.0625;
11 FGBucket b1( lon, lat );
12 long int index = b1.gen_index();
15 cout << lon << "," << lat << " ";
16 cout << b2 << " " << b2.get_center_lon() << ","
17 << b2.get_center_lat() << endl;
25 for ( int j = 2; j >= -2; j-- ) {
26 for ( int i = -2; i < 3; i++ ) {
27 b1 = fgBucketOffset(lon, lat, i, j);
28 cout << "(" << i << "," << j << ")" << b1 << "\t";