1
0
Fork 0

Removed test printouts.

This commit is contained in:
Ralf Gerlich 2008-02-08 12:13:11 +01:00
parent 74d80cdcd7
commit e29bdcfe59

View file

@ -267,7 +267,7 @@ TGAptSurface::TGAptSurface( const string& path,
double clon = (min_deg.lon() + max_deg.lon()) / 2.0; double clon = (min_deg.lon() + max_deg.lon()) / 2.0;
double clat = (min_deg.lat() + max_deg.lat()) / 2.0; double clat = (min_deg.lat() + max_deg.lat()) / 2.0;
offset = Point3D( clon, clat, average_elev_m ); offset = Point3D( clon, clat, average_elev_m );
cout << "Central offset point = " << offset << endl; SG_LOG(SG_GENERAL, SG_DEBUG, "Central offset point = " << offset);
// Create the fitted surface // Create the fitted surface
SG_LOG(SG_GENERAL, SG_DEBUG, "ready to create fitted surface"); SG_LOG(SG_GENERAL, SG_DEBUG, "ready to create fitted surface");
@ -405,7 +405,7 @@ void TGAptSurface::fit() {
Real x = p.x() - offset.x(); Real x = p.x() - offset.x();
Real y = p.y() - offset.y(); Real y = p.y() - offset.y();
Real z = p.z() - offset.z(); Real z = p.z() - offset.z();
cout << "pt = " << x << "," << y << "," << z << endl; //cout << "pt = " << x << "," << y << "," << z << endl;
tz[index] = z; tz[index] = z;
t1[index] = x; t1[index] = x;
t2[index] = x*y; t2[index] = x*y;