RasterProcessTool/SPG4Tool/SPG4Toolmain.cpp

39 lines
905 B
C++

#include <QtCore/QCoreApplication>
#include <iostream>
#include <fstream>
#include "Tle.h"
#include "SGP4.h"
#include "Observer.h"
#include "CoordGeodetic.h"
#include "CoordTopocentric.h"
#include <string>
#include "SPG4Function.h"
#include "SPG4Tool.h"
/**
½̽ËĺÅ01ÐÇÎÀÐǹìµÀ
1 57624U 23120A 25064.58152700 -.00000191 00000-0 00000+0 0 9998
2 57624 15.4792 205.4597 0004587 123.7538 133.1804 1.00272901 5837
*/
//int main(int argc, char *argv[])
//{
//
// std::string line1="1 57624U 23120A 25064.58152700 -.00000191 00000-0 00000+0 0 9998";
// std::string line2="2 57624 15.4792 205.4597 0004587 123.7538 133.1804 1.00272901 5837";
//
// libsgp4::Tle tle("GF3", line1, line2);
//
// double start = 0;
// double end = 1;
// double inc = 1/60.0;
//
// RunTle(tle, start, end, inc,true);
// //QCoreApplication a(argc, argv);
//
// //return a.exec();
//}