From 1bd7e50eb403e5e21186dba20a2549819b2a3b2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=AE=87Never=5FLie?= <12711057+zhang-lies@user.noreply.gitee.com> Date: Mon, 10 Apr 2023 13:41:39 +0000 Subject: [PATCH] add AstroLib/Include/AsOrbitParam_2023.h. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 张宇Never_Lie <12711057+zhang-lies@user.noreply.gitee.com> --- AstroLib/Include/AsOrbitParam_2023.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 AstroLib/Include/AsOrbitParam_2023.h diff --git a/AstroLib/Include/AsOrbitParam_2023.h b/AstroLib/Include/AsOrbitParam_2023.h new file mode 100644 index 0000000..503d679 --- /dev/null +++ b/AstroLib/Include/AsOrbitParam_2023.h @@ -0,0 +1,20 @@ +#pragma once +#include "AsOrbitParam.h" +#include "AsCoordinate.h" +#include "AsMath.h" +/// 修正轨道根数转换为位置速度/modified orbit element to cartesian state element. +/// @Author Zhang Yu +/// @Date 2023/4/2 +/// @Input +/// @Param modOrb 修正轨道根数 +/// @Param gm 中心体引力常数 +/// @Output +/// @Param pos 位置 +/// @Param vel 速度 +/// @Return true=成功; false=输入错误 +//******************************************************************** +bool AsModOrbElemToCart( + const CModOrbElem& modOrb, + double gm, + CCoord3& pos, + CCoord3& vel); \ No newline at end of file -- Gitee