🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
RunTimeEpoch.hpp
浏览该文件的文档.
1
20
21#pragma once
22
23#include "AstGlobal.h"
24
25AST_NAMESPACE_BEGIN
26
35AST_CORE_CAPI double aTimePointToEpochSecond(const TimePoint& tp);
36
40AST_CORE_CAPI void aEpochSecondToTimePoint(double epochSecond, TimePoint& tp);
41
44AST_CORE_CAPI void aSetEpoch(const TimePoint& tp);
45
48AST_CORE_CAPI void aGetEpoch(TimePoint& tp);
49
50
51
54AST_NAMESPACE_END
void aGetEpoch(TimePoint &tp)
获取参考历元
定义 RunTimeEpoch.cpp:45
void aSetEpoch(const TimePoint &tp)
设置参考历元
定义 RunTimeEpoch.cpp:39
void aEpochSecondToTimePoint(double epochSecond, TimePoint &tp)
将相对参考历元的秒数转换为时间点
定义 RunTimeEpoch.cpp:33
double aTimePointToEpochSecond(const TimePoint &tp)
将时间点转换为相对参考历元的秒数
定义 RunTimeEpoch.cpp:27