#pragma once #ifndef __SPG4FUNCTION__H__ #define __SPG4FUNCTION__H__ #include "SPG4Tool_global.h" #include "BaseConstVariable.h" #include #include //void RunTle(libsgp4::Tle tle, double start, double end, double inc); SPG4TOOL_EXPORT double parseTLETimeOffset(const std::string& tle); /// /// 根据两行根数生成坐标与速度,请注意返回的单位是 km /// /// /// /// /// /// /// /// /// /// SPG4TOOL_EXPORT std::vector getGPSPoints(std::string line1, std::string line2, double start, double end, double inc, bool printfinfoflag = false, bool running = true, bool first_run = true); SPG4TOOL_EXPORT bool PassPredict(std::vector& aos, std::vector& los, std::string line1, std::string line2, double startTime, double predictDayLen, double lon, double lat, double ati); #endif