🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
Eclipse.hpp
浏览该文件的文档.
1
20
21#pragma once
22
23#include "AstGlobal.h"
24
25AST_NAMESPACE_BEGIN
26
34enum class ELightingType
35{
36 eSunlight,
37 ePenumbra,
38 eUmbra
39};
40
41
42
51AST_CORE_API int aLightingRatio_CylindricalModel(const Vector3d& position, const Vector3d& lightingSourcePos, double occultingBodyRadius);
52
53
61AST_CORE_API int aLightingRatio_CylindricalModel(const TimePoint& tp, const Vector3d& position, Frame* frame, CelestialBody* lightSource, CelestialBody* occultingBody);
62
63
70AST_CORE_API int aLightingRatio_CylindricalModel(const TimePoint& tp, Point* point, CelestialBody* lightSource, CelestialBody* occultingBody);
71
72
83AST_CORE_API double aLightingRatio_DualConeModel(const Vector3d& position, const Vector3d& lightingSourcePos, double lightingSourceRadius, double occultingBodyRadius);
84
85
93AST_CORE_API double aLightingRatio_DualConeModel(const TimePoint& tp, const Vector3d& position, Frame* frame, CelestialBody* lightSource, CelestialBody* occultingBody);
94
95
102AST_CORE_API double aLightingRatio_DualConeModel(const TimePoint& tp, Point* point, CelestialBody* lightSource, CelestialBody* occultingBody);
103
104
107AST_NAMESPACE_END
108
ELightingType
光照类型
定义 Eclipse.hpp:35
@ eUmbra
本影(全食)
@ eSunlight
全光照