Convert fgDEM to FGDem ...
This commit is contained in:
parent
e2267b3f12
commit
200ef3ceea
1 changed files with 6 additions and 3 deletions
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
// DEM data
|
// DEM data
|
||||||
fgDEM dem;
|
FGDem dem;
|
||||||
string filename;
|
string filename;
|
||||||
double error;
|
double error;
|
||||||
int i, j;
|
int i, j;
|
||||||
|
@ -54,8 +54,8 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
if ( dem.read_a_record() ) {
|
if ( dem.read_a_record() ) {
|
||||||
cout << "Results = " << filename << " "
|
cout << "Results = " << filename << " "
|
||||||
<< dem.info_originx() / 3600.0 << " "
|
<< dem.get_originx() / 3600.0 << " "
|
||||||
<< dem.info_originy() / 3600.0 << "\n";
|
<< dem.get_originy() / 3600.0 << "\n";
|
||||||
} else {
|
} else {
|
||||||
cout << "Error parsing DEM file.\n";
|
cout << "Error parsing DEM file.\n";
|
||||||
}
|
}
|
||||||
|
@ -67,6 +67,9 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
|
|
||||||
// $Log$
|
// $Log$
|
||||||
|
// Revision 1.3 1999/03/12 22:54:04 curt
|
||||||
|
// Convert fgDEM to FGDem ...
|
||||||
|
//
|
||||||
// Revision 1.2 1998/09/19 18:01:22 curt
|
// Revision 1.2 1998/09/19 18:01:22 curt
|
||||||
// Support for changes to libDEM.a
|
// Support for changes to libDEM.a
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Reference in a new issue