🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
ast::TLEDatabaseQuery类 参考

#include <TLEDatabaseQuery.hpp>

Public 成员函数

 TLEDatabaseQuery ()
 
 ~TLEDatabaseQuery ()
 
void setName (StringView pattern)
 
const std::string & name () const
 
void setNoradId (int id)
 
void clearNoradId ()
 
bool hasNoradId () const
 
int noradId () const
 
void setMinEpoch (const TimePoint &v)
 
void setMaxEpoch (const TimePoint &v)
 
void clearMinEpoch ()
 
void clearMaxEpoch ()
 
bool useMinEpoch () const
 
bool useMaxEpoch () const
 
const TimePointminEpoch () const
 
const TimePointmaxEpoch () const
 
void setClassification (char c)
 
void clearClassification ()
 
bool hasClassification () const
 
char classification () const
 
void setMinInclination (double v)
 
void setMaxInclination (double v)
 
void clearMinInclination ()
 
void clearMaxInclination ()
 
bool useMinInclination () const
 
bool useMaxInclination () const
 
double minInclination () const
 
double maxInclination () const
 
void setMinEccentricity (double v)
 
void setMaxEccentricity (double v)
 
void clearMinEccentricity ()
 
void clearMaxEccentricity ()
 
bool useMinEccentricity () const
 
bool useMaxEccentricity () const
 
double minEccentricity () const
 
double maxEccentricity () const
 
void setMinMeanMotion (double v)
 
void setMaxMeanMotion (double v)
 
void clearMinMeanMotion ()
 
void clearMaxMeanMotion ()
 
bool useMinMeanMotion () const
 
bool useMaxMeanMotion () const
 
double minMeanMotion () const
 
double maxMeanMotion () const
 
void setMinBstar (double v)
 
void setMaxBstar (double v)
 
void clearMinBstar ()
 
void clearMaxBstar ()
 
bool useMinBstar () const
 
bool useMaxBstar () const
 
double minBstar () const
 
double maxBstar () const
 
bool matches (const TLE &tle) const
 
bool isEmpty () const
 

详细描述

TLE 数据库查询条件

支持按卫星名称(子串匹配)、NORAD 编号(精确匹配)、 历元时间范围、密级分类及轨道参数范围进行过滤。 所有已设置的过滤条件为 AND 语义。

成员函数说明

◆ matches()

bool ast::TLEDatabaseQuery::matches ( const TLE & tle) const

判断给定 TLE 是否匹配当前查询条件

参数
tle待检查的 TLE 条目
返回
若匹配则返回 true

◆ setName()

void ast::TLEDatabaseQuery::setName ( StringView pattern)

按卫星名称过滤

参数
pattern子串匹配模式,空字符串表示不按此字段过滤

该类的文档由以下文件生成: