🛰️航天仿真算法库 SpaceAST
0.0.1
载入中...
搜索中...
未找到
EllipsoidShape.hpp
浏览该文件的文档.
1
20
21
#pragma once
22
23
#include "AstGlobal.h"
24
#include "
BodyShape.hpp
"
25
26
AST_NAMESPACE_BEGIN
27
29
class
AST_CORE_API
EllipsoidShape
final :
public
BodyShape
30
{
31
public
:
32
AST_OBJECT(
EllipsoidShape
)
33
AST_PROPERT(majorAxis)
34
AST_PROPERT(middleAxis)
35
AST_PROPERT(minorAxis)
36
EllipsoidShape
() =
default
;
37
EllipsoidShape
(
double
majorAxis,
double
middleAxis,
double
minorAxis);
38
39
double
majorAxis()
const override
{
return
majorAxis_;}
40
41
void
transform
(
const
Vector3d& cartesian,
GeodeticPoint
& detic)
const override
;
42
43
void
transform
(
const
GeodeticPoint
& detic, Vector3d& cartesian)
const override
;
44
45
PROPERTIES:
46
length_d majorAxis_{};
47
length_d middleAxis_{};
48
length_d minorAxis_{};
49
};
50
51
AST_NAMESPACE_END
BodyShape.hpp
~
ast::BodyShape
天体形状基类
定义
BodyShape.hpp:33
ast::BodyShape::transform
virtual void transform(const Vector3d &cartesian, GeodeticPoint &detic) const =0
将笛卡尔坐标(天体固连系)转换为大地坐标
ast::EllipsoidShape
椭球体形状
定义
EllipsoidShape.hpp:30
ast::GeodeticPoint
大地坐标
定义
GeodeticPoint.hpp:33
src
AstCore
Geometry
Surface
BodyShape
EllipsoidShape.hpp
制作者
1.12.0