🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
SpiceZpr.cpp 文件参考
#include "SpiceZpr.hpp"
#include "AstCore/AxesTransform.hpp"
#include "AstCore/Axes.hpp"
#include "AstCore/TimePoint.hpp"
#include "AstCore/CelestialBody.hpp"
#include "AstCore/OrbitElement.hpp"
#include "AstCore/TimeSystem.hpp"
#include "AstMath/AttitudeConvert.hpp"
#include "AstMath/AngleAxis.hpp"
#include "AstMath/Euler.hpp"
#include "AstMath/Quaternion.hpp"
#include "AstMath/MathOperator.hpp"
#include "AstUtil/Constants.h"
#include "AstUtil/Math.hpp"
#include "AstUtil/StringView.hpp"
#include "AstUtil/StringUtil.hpp"
#include "AstUtil/Logger.hpp"
#include "AstSPICE/SpiceRunTime.hpp"

命名空间

namespace  ast
 

类型定义

using ast::SpiceInt = int
 

函数

void ast::axisar (const Vector3d &axis, double angle, Matrix3d &r)
 
void ast::azlrec (double range, double az, double el, bool azccw, bool elplsz, Vector3d &rectan)
 
double ast::b1900 ()
 
double ast::b1950 ()
 
double ast::clight ()
 
double ast::dpr ()
 
void ast::eul2m (double angle3, double angle2, double angle1, int axis3, int axis2, int axis1, Matrix3d &r)
 
void ast::ident (Matrix3d &matrix)
 
double ast::j1900 ()
 
double ast::j1950 ()
 
double ast::j2000 ()
 
double ast::j2100 ()
 
double ast::jyear ()
 
void ast::latrec (double radius, double lon, double lat, Vector3d &rectan)
 
void ast::m2eul (const Matrix3d &r, int axis3, int axis2, int axis1, double &angle3, double &angle2, double &angle1)
 
void ast::m2q (const Matrix3d &r, Quaternion &q)
 
void ast::mxm (const Matrix3d &m1, const Matrix3d &m2, Matrix3d &mout)
 
void ast::mxvg (const void *m1, const void *v2, int nr1, int nc1r2, void *vout)
 
errc_t ast::pxform (StringView from, StringView to, const TimePoint &et, Matrix3d &rotate)
 
AST_SPICE_CAPI errc_t ast::pxform (const char *from, const char *to, double et, Matrix3d &rotate)
 
void ast::q2m (const Quaternion &q, Matrix3d &r)
 
void ast::radrec (double range, double ra, double dec, Vector3d &rectan)
 
void ast::rav2xf (const Matrix3d &rot, const Vector3d &av, Matrix6d &xform)
 
errc_t ast::spkapo (CelestialBody *targ, const TimePoint &et, Axes *ref, const CartState &sobs, StringView abcorr, Vector3d &ptarg, double *lt=nullptr)
 
errc_t ast::spkpos (CelestialBody *targ, const TimePoint &et, Axes *ref, StringView abcorr, CelestialBody *obs, Vector3d &ptarg, double *lt=nullptr)
 
errc_t ast::spkpos (StringView targ, const TimePoint &et, StringView ref, StringView abcorr, StringView obs, Vector3d &ptarg, double *lt)
 
AST_SPICE_CAPI errc_t ast::spkpos (const char *targ, double et, const char *ref, const char *abcorr, const char *obs, Vector3d &ptarg, double *lt)
 
errc_t ast::spkssb (CelestialBody *targ, const TimePoint &et, Axes *ref, CartState &starg)
 
AST_SPICE_CAPI errc_t ast::spkssb (int targ, double et, const char *ref, CartState &starg)
 
errc_t ast::stelab (const Vector3d &pobj, const Vector3d &vobs, Vector3d &appobj)
 
errc_t ast::stlabx (const Vector3d &pobj, const Vector3d &vobs, Vector3d &appobj)
 
errc_t ast::tipbod (Axes *ref, CelestialBody *body, const TimePoint &et, Matrix3d &tipm)
 
AST_SPICE_CAPI errc_t ast::tipbod (const char *ref, int body, double et, Matrix3d &tipm)
 
errc_t ast::utc2et (StringView utcstr, double &et)
 
AST_SPICE_CAPI errc_t ast::utc2et (const char *utcstr, double &et)
 
void ast::vrotv (const Vector3d &v, const Vector3d &axis, double theta, Vector3d &r)
 

详细描述



作者
axel
日期
2026-03-02

ast项目(https://github.com/space-ast/ast) 本项目基于 Apache 2.0 开源许可证分发。 您可在遵守许可证条款的前提下使用、修改和分发本软件。 许可证全文请见:

http://www.apache.org/licenses/LICENSE-2.0

重要须知: 软件按"现有状态"提供,无任何明示或暗示的担保条件。 除非法律要求或书面同意,作者与贡献者不承担任何责任。 使用本软件所产生的风险,需由您自行承担。