🛰️航天仿真算法库 SpaceAST
0.0.1
载入中...
搜索中...
未找到
AxesRoot.hpp
浏览该文件的文档.
1
20
21
#pragma once
22
23
#include "AstGlobal.h"
24
#include "AstCore/Axes.hpp"
25
26
AST_NAMESPACE_BEGIN
27
35
class
AST_CORE_API
AxesRoot
:
public
Axes
36
{
37
public
:
38
AxesRoot
() =
default
;
39
~AxesRoot
()
override
=
default
;
40
static
Axes
* Instance();
41
Axes
*
getParent
()
const override
;
42
errc_t
getTransform
(
const
TimePoint
& tp,
Rotation
& rotation)
const override
;
43
errc_t
getTransform
(
const
TimePoint
& tp,
KinematicRotation
& rotation)
const override
;
44
};
45
46
A_ALWAYS_INLINE
Axes
* aAxesRoot()
47
{
48
return
AxesRoot::Instance();
49
}
50
53
AST_NAMESPACE_END
ast::AxesRoot
根轴系
定义
AxesRoot.hpp:36
ast::Axes
轴系类
定义
Axes.hpp:69
ast::Axes::getParent
virtual Axes * getParent() const =0
获取当前轴系的父轴系
ast::Axes::getTransform
virtual errc_t getTransform(const TimePoint &tp, Rotation &rotation) const =0
获取当前轴系相对于父轴系的旋转信息
ast::KinematicRotation
运动学坐标系旋转
定义
KinematicRotation.hpp:32
ast::Rotation
坐标系旋转类
定义
Rotation.hpp:39
ast::TimePoint
绝对时间点
定义
TimePoint.hpp:106
src
AstCore
Coordinate
Axes
AxesRoot.hpp
制作者
1.12.0