🛰️航天仿真算法库 SpaceAST
0.3.1
载入中...
搜索中...
未找到
AttitudeSunRelated.hpp
浏览该文件的文档.
1
20
21
#pragma once
22
23
#include "AstGlobal.h"
24
#include "
AttitudeTrajectoryRelated.hpp
"
25
#include "AstCore/CelestialBody.hpp"
26
27
AST_NAMESPACE_BEGIN
28
35
class
AST_CORE_API
AttitudeSunRelated
:
public
AttitudeTrajectoryRelated
36
{
37
public
:
38
AttitudeSunRelated
();
39
~AttitudeSunRelated
() =
default
;
40
public
:
41
void
setSun(
Body
* sun){sun_ = sun;}
42
Body
* sun()
const
{
return
sun_.get(); }
43
protected
:
44
errc_t getSunPosLocal(
const
TimePoint
& tp, Vector3d& sunPos)
const
;
45
errc_t getSunPosVelLocal(
const
TimePoint
& tp, Vector3d& sunPos, Vector3d& sunVel)
const
;
46
private
:
47
WeakPtr<CelestialBody>
sun_{};
48
};
49
50
53
AST_NAMESPACE_END
AttitudeTrajectoryRelated.hpp
ast::AttitudeSunRelated
太阳相关姿态
定义
AttitudeSunRelated.hpp:36
ast::AttitudeTrajectoryRelated
与轨迹相关的姿态
定义
AttitudeTrajectoryRelated.hpp:40
ast::CelestialBody
天体
定义
CelestialBody.hpp:72
ast::TimePoint
绝对时间点
定义
TimePoint.hpp:108
ast::WeakPtr
弱引用指针
定义
WeakPtr.hpp:35
src
AstCore
Attitude
AttitudeSunRelated.hpp
制作者
1.12.0