Appearance
API 文档
1. mission 模块
1.1. Class Actpoint
1.1.1. 构造方法
cpp
explicit Actpoint(double longitude = DBL_NaN,
double latitude = DBL_NaN,
double altitude = DBL_NaN,
double datetime = GTM_EPOCH,
int frequency = 0,
ActionType actionType = VAT_Common,
const EulerAngles& gesture = EA_DEF_VAL,
int targetPointIndex = -1,
const Coordinate& targetPoint = { DBL_NaN, DBL_NaN, DBL_NaN, GTM_EPOCH })功能:
构造函数,创建一个 Actpoint 实例。
参数:
longitude:动作点经度。
latitude:动作点纬度。
altitude:动作点海拔。
datetime:动作点日期时间。
frequency:动作频率。
actionType:动作点类型。
gesture:动作点姿态角。
targetPointIndex:动作点所对应目标点的索引。
targetPoint:动作点所对应目标点的坐标。
返回值:
cpp
explicit Actpoint(const Coordinate& position,
int frequency = 0,
ActionType actionType = VAT_Common,
const EulerAngles& gesture = EA_DEF_VAL,
int targetPointIndex = -1,
const Coordinate& targetPoint = { DBL_NaN, DBL_NaN, DBL_NaN, GTM_EPOCH })功能:
创建一个 Actpoint 实例。
参数:
position:动作点坐标,包括经度、纬度、海拔、日期时间。
frequency:动作频率。
actionType:动作点类型。
gesture:动作点姿态角。
targetPointIndex:动作点所对应目标点的索引。
targetPoint:动作点所对应目标点的坐标。
返回值:
cpp
Actpoint(Actpoint&& other)功能:
移动构造函数,创建一个 Actpoint 实例。
参数:
other:表示另一个对象(通常是即将销毁的临时对象)的右值引用。
返回值:
cpp
Actpoint(const Actpoint& other)功能:
拷贝构造函数,创建一个 Actpoint 实例。
参数:
other:常量引用,表示将要被拷贝的另一个对象。
返回值:
1.1.2. 所有方法
cpp
virtual ~Actpoint() = default功能:
析构函数,释放一个 Actpoint 实例。
参数:
返回值:
cpp
const int frequency() const功能:
返回频率值。
参数:
返回值:
频率值。
cpp
Property& frequency()功能:
返回频率属性。
参数:
返回值:
频率属性。
cpp
const int targetPointIndex() const功能:
返回目标点索引值。
参数:
返回值:
目标点索引值。
cpp
Property& targetPointIndex()功能:
返回目标点索引属性。
参数:
返回值:
目标点索引属性。
cpp
const ActionType actionType() const功能:
返回动作点类型。
参数:
返回值:
动作点类型。
cpp
Property& actionType()功能:
返回动作点类型属性。
参数:
返回值:
动作点类型属性。
cpp
const EulerAngles gesture() const功能:
返回姿态角。
参数:
返回值:
姿态角。
cpp
Property& gesture()功能:
返回姿态角属性。
参数:
返回值:
姿态角属性。
cpp
const Coordinate targetPoint() const功能:
返回目标点。
参数:
返回值:
目标点。
cpp
Property& targetPoint()功能:
返回目标点属性。
参数:
返回值:
目标点属性。
1.2. Class blockscanner
1.2.1. 构造方法
cpp
blockscanner()功能:
构造函数,创建一个 blockscanner 实例。
参数:
返回值:
1.2.2. 所有方法
cpp
~blockscanner()功能:
析构函数,释放一个 blockscanner 实例。
参数:
返回值:
cpp
bool checkTarget(const target &org, ProgressCallback rep = nullptr) override功能:
检查目标。
参数:
org:待检查的目标。
rep:回调函数,在检查的过程中报告进度。
返回值:
目标是否通过检查。
cpp
target preProgress(target &org, ProgressCallback rep = nullptr) override功能:
预处理。
参数:
org:待预处理的目标。
rep:回调函数,在检查的过程中报告进度。
返回值:
预处理后的目标。
cpp
target rebuildImpl(target &org, ProgressCallback rep = nullptr) override功能:
重新构建目标?重建实现。
参数:
org:目标。
rep:回调函数,在检查的过程中报告进度。
返回值:
重新构建的目标。
cpp
static Coordinates weftScanSegment(const Segment &segment, double latScan)功能:
计算扫描线与目标区域每条边的交点。
参数:
segment:扫描线。
latScan:
返回值:
扫描线与目标区域每条边的交点。
cpp
static Segment weftScanPolygon(const Geometry &polygon, double latScan)功能:
根据目标区域和扫描的纬度值确定此扫描线的起始点和终点。
参数:
polygon:目标区域。
latScan:
返回值:
扫描线的起始点和终点。
cpp
virtual Segments weftSweepPolygon(const target &polygon, bool isFrameTrip = false)功能:
划分航线的条数,计算扫描线的端点的进入点和出去点。
参数:
polygon:目标区域。
isFrameTrip:是否是构架航线。
返回值:
新的 Segments(线段集合)对象。
cpp
static Segment warpAdjustOffset(const Segment &segment,
double warpSpace,
double enterOffset,
double leaveOffset)功能:
根据扫描线的进出点计算航点的进出点。
参数:
segment:扫描线。
warpSpace:航向间隔。
enterOffset:进入端偏移量。
leaveOffset:退出端偏移量。
返回值:
航点的进出点。
cpp
virtual Segments warpReshapeSegments(const Segments &segments, const target &polygon)功能:
连接航线的端点。
参数:
segments:航线段。
polygon:目标区域。
返回值:
航线段连接起来的航线。
1.3. Class builder
1.3.1. 构造方法
cpp
builder()功能:
构造函数,创建一个 builder 实例。
参数:
返回值:
1.3.2. 所有方法
cpp
virtual ~builder() = default功能:
析构函数,释放一个 builder 实例。
参数:
返回值:
cpp
target &result() const功能:
返回对目标对象的引用。
参数:
返回值:
目标对象的引用。
cpp
GeoSpheroid &globe() const功能:
返回对地球模型的引用。
参数:
返回值:
地球模型的引用。
cpp
GeoSpheroid &globe()功能:
返回对地球模型的引用。
参数:
返回值:
地球模型的引用。
cpp
virtual target preProgress(target &org, ProgressCallback rep = nullptr)功能:
对目标进行预处理操作。
参数:
org:目标。
rep:回调函数,用于表示进度回调。
返回值:
预处理后的目标。
cpp
virtual builder &rebuild(target &org, ProgressCallback rep = nullptr)功能:
重新构建目标。
参数:
org:目标。
rep:回调函数,用于表示进度回调。
返回值:
重新构建的目标。
cpp
virtual bool checkTarget(const target &org, ProgressCallback rep = nullptr)功能:
检查目标实体状态。
参数:
org:目标。
rep:回调函数,用于表示进度回调。
返回值:
目标实体状态。
cpp
virtual target rebuildImpl(target &org, ProgressCallback rep = nullptr)功能:
重新构建目标。
参数:
org:待重新构建的目标。
rep:回调函数,用于表示进度回调。
返回值:
重新构建的目标。
1.4. Class Entity
1.4.1. 宏定义、枚举与结构体
cpp
struct Context
{
String guid;
mutable String type;
Geometry shape;
Coordinate position;
EulerAngles posture;
String name;
String style;
String comment;
Ptr parent;
Envelope extent;
bool enable = true;
bool visible = true;
int selecti = -1;
PropertyMap properties;
Features features;
Entities subEntities;
}功能:
本结构体用于描述 Entity 的组成信息。
结构体成员:
String guid:全局唯一标识符;
mutable String type:类型;
Geometry shape:几何形状;
Coordinate position:位置;
EulerAngles posture:姿态;
String name:名字;
String style:样式;
String comment:备注;
Ptr parent:父实体;
Envelope extent:范围;
bool enable:可用性;
bool visible:可见性;
int selecti:当前选择的 entity;
PropertyMap properties:属性;
Features features:要素;
Entities subEntities:子实体;
返回值:
1.4.2. 构造方法
cpp
Entity()功能:
构造函数,创建一个 Entity 实例。
参数:
返回值:
cpp
Entity(Entity &&o)功能:
移动构造函数,创建一个 Entity 实例。
参数:
Entity &&o:源 Entity 对象。
返回值:
cpp
Entity(const Entity &o)功能:
拷贝构造函数,创建一个 Entity 实例。
参数:
const Entity &o:源 Entity 对象。
返回值:
cpp
explicit Entity(const String &guid,
const Coordinate& position = CD_DEF_VAL,
const EulerAngles& posture = EA_DEF_VAL,
const String &name = "",
const String &style = "",
const String &comment = "",
const Ptr &parent = nullptr)功能:
构造 Entity。
参数:
guid:全局唯一标识符。
position:位置。
posture:姿态。
name:实体名。
style:实体类型。
comment:备注。
parent:父实体。
返回值:
cpp
Entity(OGRFeature *)功能:
使用 OGRFeature 对象来创建一个 Entity 实例。
参数:
OGRFeature *:OGRFeature 对象。
返回值:
1.4.3. 所有方法
cpp
virtual ~Entity()功能:
析构函数,释放一个 Entity 实例。
参数:
返回值:
cpp
static EntityH ToHandle(Entity*)功能:
将 Entity*转换为 EntityH 类型。
参数:
Entity*:Entity 类型的指针。
返回值:
Entity*对应的 EntityH 类型。
cpp
static Entity *FromHandle(EntityH)功能:
将 EntityH 转换为 Entity*类型。
参数:
EntityH:Entity 句柄。
返回值:
EntityH 类型对应的指向 Entity 类型的指针。
cpp
static Entity CreateFromContext(Context *)功能:
使用 Context 中的信息初始化 Entity。
参数:
Context *:指向 Context 的指针。
返回值:
根据 Context 中的信息初始化的 Entity。
cpp
static Entity CreateFromGML(const String &gml)功能:
基于 GML 数据创建 Entity。
参数:
const String &gml:GML 数据。
返回值:
基于 GML 数据创建的 Entity。
cpp
static Entity CreateFromKML(const String &kml)功能:
基于 KML 数据创建 Entity。
参数:
const String &kml:KML 数据。
返回值:
基于 KML 数据创建的 Entity。
cpp
static Entity CreateFromWKT(const String &ftc, const String &srs)功能:
基于 WKT 数据创建 Entity。(暂未实现)
参数:
const String &ftc:
const String &srs:空间参考。
返回值:
基于 WKT 数据创建的 Entity。
cpp
static Entity CreateFromJSON(const String &json, JSONType jft = JFT_GeoJSON)功能:
基于 JSON 数据创建 Entity。
参数:
const String &json:JSON 数据。
JSONType jft:JSON 类型。
返回值:
基于 JSON 数据创建的 Entity。
cpp
static std::vector<Entity> CreateFromJSONs(const String &json)功能:
基于多个 JSON 数据创建 Entity。
参数:
const String &json:JSON 数据
返回值:
基于多个 JSON 数据创建的 Entity。
cpp
static Entity::Context * FindContext(const String &guid)功能:
根据提供的 guid 来查找一个与之对应的 Context 实例。
参数:
const String &guid:全局唯一标识符。
返回值:
Context 实例。
cpp
static FeatureDefn Definition()功能:
参数:
返回值:
FeatureDefn 对象。
cpp
Entity &operator=(const Entity &that)功能:
赋值运算符的重载声明,用于定义类 Entity 的对象如何被赋值。
参数:
const Entity &that:赋值的源对象。
返回值:
对 Entity 类型对象的引用。
1.5. Class Feature
1.5.1. 构造方法
cpp
Feature()功能:
构造函数,创建一个 Feature 实例。
参数:
返回值:
cpp
Feature(Feature &&o)功能:
移动构造函数,创建一个 Feature 实例。
参数:
Feature &&o:源 Feature 对象。
返回值:
cpp
Feature(const Feature &o)功能:
拷贝构造函数,创建一个 Feature 实例。
参数:
const Feature &o:源 Feature 对象。
返回值:
cpp
Feature(OGRFeature *poFeature)功能:
使用 OGRFeature 对象来创建一个 Feature 实例。
参数:
OGRFeature *poFeature:OGRFeature 对象。
返回值:
cpp
virtual ~Feature()功能:
析构函数,释放一个 Feature 实例。
参数:
返回值:
1.5.2. 所有方法
cpp
static Feature CreateFromContext(Context *cp)功能:
使用 Context 中的信息初始化 Feature。
参数:
Context *cp:指向包含创建 Feature 对象所需的各种信息和配置的 Context 类型对象的指针。
返回值:
Feature。
cpp
static Feature CreateFromGeometry(const Geometry &shp,
const PropertyMap &properties = PropertyMap())功能:
基于几何和属性创建一个 Feature 实例。
参数:
const Geometry &shp:几何形状。
const PropertyMap &properties:属性集合。
返回值:
Feature 类型的实例。
cpp
static Feature CreateFromDefinition(const FeatureDefn &defn)功能:
基于 Definition(定义)创建一个 Feature 实例。
参数:
const FeatureDefn &defn:特征定义。
返回值:
Feature 类型的实例。
cpp
static Feature CreateFromGML(const String &gml)功能:
基于 GML 数据创建一个 Feature 实例。
参数:
const String &gml:GML 数据。
返回值:
Feature 类型的实例。
cpp
static Feature CreateFromJSON(const String &json)功能:
基于 JSON 数据创建一个 Feature 实例。
参数:
const String &json:JSON 数据。
返回值:
Feature 类型的实例。
cpp
Feature &operator=(const Feature &that)功能:
赋值运算符的重载声明,用于定义类 Feature 的对象如何被赋值。
参数:
const Feature &that:赋值的源对象。
返回值:
对 Feature 类型对象的引用。
cpp
bool operator==(const Feature &that) const功能:
等于运算符的重载声明,用于比较两个 Fearture 类型的对象是否相等。
参数:
const Feature &that:要与当前 Feature 对象进行比较的另一个 Feature 对象 that。
返回值:
两个 Feature 类型的对象是否相等,true 表示相等,false 表示不相等。
cpp
inline bool operator!=(const Feature &o) const
{
return !operator==(o);
}功能:
不等于运算符的重载声明,用于比较两个 Feature 类型对象是否不相等
参数:
const Feature &o:要与当前 Feature 对象进行比较的另一个 Feature 对象 o。
返回值:
两个 Feature 类型的对象是否不相等,true 表示不相等,false 表示相等。
cpp
GIntBig fid() const功能:
返回 fid(要素唯一标识符)值。
参数:
返回值:
fid 值。
cpp
Geometry shape() const功能:
返回几何形状信息。
参数:
返回值:
一个新的 Geometry 对象的副本。
cpp
Geometry &shape()功能:
返回几何形状信息。
参数:
返回值:
对原始 Geometry 对象的引用。
cpp
const String name() const功能:
返回名字。
参数:
返回值:
名字。
cpp
Property& name()功能:
返回名字属性。
参数:
返回值:
名字属性。
cpp
const String type() const功能:
返回类型。
参数:
返回值:
类型。
cpp
Property& type()功能:
返回类型属性。
参数:
返回值:
类型属性。
cpp
const String parentGuid() const功能:
返回父 Guid 值。
参数:
返回值:
父 Guid 值。
cpp
Property& parentGuid()功能:
返回父 Guid 属性。
参数:
返回值:
父 Guid 属性。
cpp
const String style() const功能:
返回样式。
参数:
返回值:
样式。
cpp
Property& style()功能:
返回样式属性。
参数:
返回值:
样式属性。
cpp
const String description() const功能:
返回描述。
参数:
返回值:
描述。
cpp
Property& description()功能:
返回描述属性。
参数:
返回值:
描述属性。
cpp
const FeatureDefn definition() const功能:
返回要素定义。
参数:
返回值:
要素定义。
cpp
const PropertyMap &properties() const功能:
获取对象的属性映射并返回对它的常量引用,以访问对象的属性信息。
参数:
返回值:
对属性映射 PropertyMap 对象的常量引用。
cpp
PropertyMap &properties()功能:
获取对象的属性映射并返回对它的非常量引用。
参数:
返回值:
对属性映射 Property 对象的非常量引用。
cpp
Feature clone()功能:
返回一个当前 Feature 对象的副本(克隆)。
参数:
返回值:
Feature 类型的实例。
cpp
const String exportToGML() const功能:
将 Feature 对象导出为 GML 格式的字符串,并将该字符串作为返回值。
参数:
返回值:
GML 格式的字符串。
cpp
const String exportToKML() const功能:
将 Feature 对象导出为 KML 格式的字符串,并将该字符串作为返回值。
参数:
返回值:
KML 格式的字符串。
cpp
const String exportToJSON(JSONType = JFT_GeoJSON) const功能:
将 Feature 对象导出为 JSON 格式的字符串,并将该字符串作为返回值。
参数:
返回值:
JSON 格式的字符串。
cpp
void dumpReadable(FileHandle fpout, DumpReadType options = DRT_AllDefault) const功能:
将对象的某些数据以可读的格式写入到文件中。
参数:
FileHandle fpout:将要输出到的文件的文件句柄。
DumpReadType options:数据存储的类型或方式。
返回值:
cpp
OGRFeatureUniquePtr getOGRUniquePtr()功能:
获取一个指向 OGRFeature 对象的独占指针。独占指针是一种智能 zhizhen 动态分配的对象的生命周期。返回的独占指针可能用于管理 OGRFeature 对象的内存,确保在不再需要时正确释放。
参数:
返回值:
一个名为 OGRFeatureUniquePtr 的对象或指针。
cpp
friend class Entity功能:
将 Entity 类声明为当前 Feature 类的友元类,允许 Entity 类的成员函数访问当前 Feature 类的私有成员和受保护成员。
参数:
返回值:
cpp
friend class project功能:
将 project 类声明为当前 Feature 类的友元类,允许 project 类的成员函数访问当前 Feature 类的私有成员和受保护成员。
参数:
返回值:
cpp
const GeometryMap &geometries() const功能:
返回一个常量引用到名为 GeometryMap 的对象。它允许外部代码访问当前对象内部的 GeometryMap 对象,但不允许修改该对象。
参数:
返回值:
一个到 GeometryMap 对象的常量引用。
cpp
GeometryMap &geometries()功能:
返回一个非常量引用到名为 GeometryMap 的对象。它允许外部代码访问当前对象内部的 GeometryMap 对象,并且可以修改该对象。
参数:
返回值:
一个到 GeometryMap 对象的非常量引用。
cpp
Feature(bool) = delete功能:
通过将 Feature(bool) 函数声明为 = delete,编译器会在编译时禁止使用该函数。这意味着如果试图调用 Feature 函数并传递一个 bool 参数,编译将失败,从而防止意外调用或误用。
参数:
bool:表示这个函数接受一个 bool 类型的参数。
返回值:
cpp
Feature(Context *)功能:
创建一个 Feature 对象,并使用传递的 Context 对象的指针来初始化该对象。
参数:
Context *:表示这个构造函数接受一个指向 Context 对象的指针作为参数。
返回值:
cpp
std::shared_ptr<Context> _cp = nullptr功能:
创建一个名为 _cp 的 std::shared_ptr 智能指针,并将其初始化为 nullptr。
参数:
返回值:
1.6. Class Geometry
1.6.1. 宏定义、枚举与结构体
cpp
struct Context
{
GeometryType eType;
Geometries aSubsets;
Coordinates aVertices;
String osSpatialRef;
}功能:
用于封装和组织与几何信息和空间参考相关的数据。
结构体成员:
GeometryType eType:几何类型,点、线、面等;
Geometries aSubsets:子集;
Coordinates aVertices:顶点;
String osSpatialRef:空间参考;
返回值:
1.6.2. 构造方法
cpp
Geometry(Geometry &&o)功能:
移动构造函数,创建一个 Geometry 实例。
参数:
Geometry &&o:源 Geometry 对象。
返回值:
cpp
Geometry(const Geometry &o)功能:
拷贝构造函数,创建一个 Geometry 实例。
参数:
const Geometry &o:源 Geometry 对象。
返回值:
cpp
explicit Geometry(GeometryType = WKT_Unknown)功能:
创建一个 Geometry 实例。
参数:
返回值:
1.6.3. 所有方法
cpp
virtual ~Geometry() = default功能:
析构函数,释放一个 Geometry 实例。
参数:
返回值:
cpp
static Geometry CreateFromContext(Context *poCtx)功能:
使用 Context 中的信息初始化 Geometry。
参数:
Context *poCtx:指向 Context 类对象的指针。
返回值:
Geometry 实例。
从 GML 格式创建 Geometry。
cpp
static Geometry CreateFromGML(const String &gml)功能:
基于 GML 数据创建一个 Geometry 实例。
参数:
const String &gml:GML 数据。
返回值:
Geometry 实例。
cpp
static Geometry CreateFromWKT(const String &shp,
const String &srs = SRS_WKT_WGS84)功能:
基于 WKT 形式的数据字符串和空间参考系统创建一个 Geometry 实例。
参数:
const String &shp:用于构建 Geometry 对象的 WKT 形式的字符串。
const String &srs:包含了空间参考系统的 WKT 形式的字符串。
返回值:
Geometry 实例。
cpp
static Geometry CreateFromKML(const String &kml)功能:
基于 KML 数据创建一个 Geometry 实例。
参数:
const String &kml:kml 数据。
返回值:
Geometry 实例。
cpp
static Geometry CreateFromJSON(const String &json,
JSONType eJFT = JFT_GeoJSON)功能:
基于 JSON 数据创建一个 Geometry 实例。
参数:
const String &json:JSON 数据。
JSONType eJFT:JSON 类型。
返回值:
Geometry 实例。
cpp
static Geometry ApproximateArc(const Coordinate& center,
double primaryRadius,
double secondaryRadius,
double rotation,
double startAngle,
double endAngle,
double maxDegreesStep = 4.0)功能:
根据提供的参数,创建一个表示近似弧的 Geometry 对象。
参数:
const Coordinate& center:弧的中心点坐标。
double primaryRadius:主要半径长度。
double secondaryRadius:次要半径长度。
double rotation:弧的旋转角度。
double startAngle:弧的起始角度。
double endAngle:弧的结束角度。
double maxDegreesStep:近似弧的最大角度步长。
返回值:
表示近似弧的 Geometry 实例。
cpp
static Geometry CurveToLineString(const Coordinate& p1,
const Coordinate& p2,
const Coordinate& p3,
double maxDegreesStep = 4.0,
const StringMap &options = StringMap())功能:
将由起始点 p1、控制点 p2 和终点 p3 定义的曲线(通常是贝塞尔曲线)转换为线串(LineString),以近似表示曲线。
参数:
const Coordinate& p1:曲线的起始点坐标。
const Coordinate& p2:曲线的控制点坐标。
const Coordinate& p3:曲线的终点坐标。
double maxDegreesStep:近似曲线的最大角度步长。
const StringMap &options:附加选项。
返回值:
表示近似曲线的 Geometry 实例。
cpp
static Geometry OrganizePolygons(const Geometries &polygons,
const StringMap &options = StringMap())功能:
将给定的多边形集合 polygons 组织成一个更大的几何形状,通常是一个多部分几何对象。
参数:
const Geometries &polygons:要组织的多边形的集合。
const StringMap &options:附加选项。
返回值:
一个 Geometry 对象,表示组织后的多边形集合或结果。
cpp
Geometry &operator=(const Geometry &that)功能:
赋值运算符的重载声明,用于定义如何将一个 Geometry 对象的内容赋值给另一个 Geometry 对象。
参数:
const Geometry &that:要赋值给当前对象的另一个 Geometry 对象。
返回值:
Geometry 对象的引用。
cpp
bool operator==(const Geometry &that) const功能:
等于运算符的重载声明,用于比较两个 Geometry 对象是否相等。
参数:
const Geometry &that:要与当前对象进行比较的另一个 Geometry 对象。
返回值:
两个 Geometry 对象是否相等,true 表示相等,false 表示不相等。
cpp
inline bool operator!=(const Geometry &o) const
{
return !operator==(o);
}功能:
不等于运算符的重载声明,用于比较两个 Geometry 对象是否不相等。
参数:
const Geometry &o:要与当前对象进行比较的另一个 Geometry 对象。
返回值:
两个 Geometry 对象是否不相等,true 表示不相等,false 表示相等。
判断是否是环。
cpp
bool isRing() const功能:
检查当前 Geometry 对象是否表示一个封闭的环形几何图形。
参数:
返回值:
当前 Geometry 对象是否表示一个封闭的环形几何图形,true 表示是,false 表示否。
判断是否是点。
cpp
bool isPoint() const功能:
检查当前 Geometry 对象是否表示一个点。
参数:
返回值:
当前 Geometry 对象是否表示一个点,true 表示是,false 表示否。
cpp
bool isCurve() const功能:
检查当前 Geometry 对象是否表示曲线。
参数:
返回值:
当前 Geometry 对象是否表示曲线,true 表示是,false 表示否。
判断是否是空。
cpp
bool isEmpty() const功能:
检查当前 Geometry 对象是否为空(即不包含任何几何元素)。
参数:
返回值:
当前 Geometry 对象是否为空,true 表示是,false 表示否。
判断是否合法。
cpp
bool isValid() const功能:
检查当前 Geometry 对象是否是有效的(合法的)几何图形。
参数:
返回值:
当前 Geometry 对象是否是有效的(合法的)几何图形,true 表示是,false 表示否。
cpp
bool isClosed() const功能:
检查当前 Geometry 对象是否表示一个封闭的几何图形。
参数:
返回值:
当前 Geometry 对象是否表示一个封闭的几何图形,true 表示是,false 表示否。
判断是否是简单 Geometry。
cpp
bool isSimple() const功能:
检查当前 Geometry 对象是否是简单几何图形(简单几何图形是指不包含自交或重复部分的几何图形)。
参数:
返回值:
当前 Geometry 对象是否是简单几何图形,true 表示是,false 表示否。
cpp
bool isSurface() const功能:
检查当前 Geometry 对象是否表示一个表面几何图形。
参数:
返回值:
当前 Geometry 对象是否表示一个表面几何图形,true 表示是,false 表示否。
cpp
bool hasSubsets() const功能:
检查当前 Geometry 对象是否包含子集。
参数:
返回值:
当前 Geometry 对象是否包含子集,true 表示是,false 表示否。
cpp
bool hasVertices() const功能:
判断当前 Geometry 对象是否包含顶点。
参数:
返回值:
当前 Geometry 对象是否包含顶点,true 表示是,false 表示否。
cpp
bool isNonLinear() const功能:
判断当前 Geometry 对象是否是非线性的几何图形。
参数:
返回值:
当前 Geometry 对象是否是非线性的几何图形,true 表示是,false 表示否。
cpp
bool isTopologable() const功能:
判断当前 Geometry 对象是否具有拓扑信息。
参数:
返回值:
当前对象是否具有拓扑信息,true 表示是,false 表示否。
cpp
double area2d() const功能:
计算二维几何图形的面积。
参数:
返回值:
二维几何图形的面积。
cpp
double length2d() const功能:
计算二维几何图形的长度。
参数:
返回值:
二维几何图形的长度。
cpp
double meanElevation() const功能:
计算当前 Geometry 对象的平均高程。
参数:
返回值:
当前 Geometry 对象的平均高程。
cpp
const Envelope extent() const功能:
获取当前 Geometry 对象的包围盒。
参数:
返回值:
当前 Geometry 对象的包围盒
空间参考。
cpp
const String &spatialRef() const功能:
获取当前 Geometry 对象的空间参考信息。
参数:
返回值:
当前 Geometry 对象的空间参考信息。
cpp
String &spatialRef()功能:
获取当前 Geometry 对象的空间参考信息。
参数:
返回值:
当前 Geometry 对象的空间参考信息。
cpp
GeometryType type() const功能:
获取当前 Geometry 对象的几何类型。
参数:
返回值:
当前 Geometry 对象的几何类型。
cpp
const Geometry boundary() const功能:
获取当前 Geometry 对象的边界。
参数:
返回值:
当前 Geometry 对象的边界。
cpp
const Geometry centroid() const功能:
获取当前 Geometry 对象的质心。
参数:
返回值:
当前 Geometry 对象的质心。
cpp
const Geometries &subsets() const功能:
获取当前 Geometry 对象的子集。
参数:
返回值:
指向当前 Geometry 对象的子集的常量引用。
cpp
const Coordinates &vertices() const功能:
获取当前 Geometry 对象的顶点坐标。
参数:
返回值:
当前 Geometry 对象的顶点坐标。
cpp
void empty()功能:
清空当前 Geometry 对象。
参数:
返回值:
cpp
void swapXY()功能:
交换当前 Geometry 对象的 X、Y 坐标。
参数:
返回值:
cpp
void closeRings()功能:
将当前 Geometry 对象封闭。
参数:
返回值:
cpp
void dumpReadable(FileHandle fpout, DumpReadType options = DRT_AllDefault) const功能:
将对象的某些数据以可读的格式写入到文件中。
参数:
FileHandle fpout:将要输出到的文件的文件句柄。
DumpReadType options:数据存储的类型或方式。
返回值:
cpp
const String exportToGML() const功能:
将 Geometry 对象导出为 GML 格式的字符串,并将该字符串作为返回值。
参数:
返回值:
表示该 Geometry 对象的 GML 格式的字符串。
cpp
const String exportToKML() const功能:
将 Geometry 对象导出为 KML 格式的字符串,并将该字符串作为返回值。
参数:
返回值:
表示该 Geometry 对象的 KML 格式的字符串。
cpp
const String exportToWKT() const功能:
将 Geometry 对象导出为 WKT 格式的字符串,并将该字符串作为返回值。
参数:
返回值:
表示该 Geometry 对象的 WKT 格式的字符串。
cpp
const String exportToJSON(JSONType jft = JFT_GeoJSON) const功能:
将 Geometry 对象导出为 JSON 格式的字符串,并将该字符串作为返回值。
参数:
返回值:
表示该 Geometry 对象的 JSON 格式的字符串。
cpp
bool within(const Geometry &other) const功能:
判断当前 Geometry 对象是否在传入的另一个 Geometry 对象内部。
参数:
const Geometry &other:传入的另一个 Geometry 对象的引用。
返回值:
当前 Geometry 对象是否在传入的另一个 Geometry 对象内部,true 表示是,false 表示否。
判断是否
cpp
bool touches(const Geometry &other) const功能:
判断当前 Geometry 对象是否与传入的另一个 Geometry 对象是否在边界上相接触。
参数:
const Geometry &other:传入的另一个 Geometry 对象的引用。
返回值:
当前 Geometry 对象是否与传入的另一个 Geometry 对象在边界上相接触,true 表示是,false 表示否。
cpp
bool crosses(const Geometry &other) const功能:
判断当前 Geometry 对象是否与传入的另一个 Geometry 对象在内部区域有重叠。
参数:
const Geometry &other:传入的另一个 Geometry 对象的引用。
返回值:
当前 Geometry 对象是否与传入的另一个 Geometry 对象在内部区域有重叠,true 表示是,false 表示否。
cpp
bool disjoint(const Geometry &other) const功能:
判断当前 Geometry 对象是否与传入的另一个 Geometry 对象没有交点。
参数:
const Geometry &other:传入的另一个 Geometry 对象的引用。
返回值:
当前 Geometry 对象是否与传入的另一个 Geometry 对象没有交点,true 表示没有交点,false 表示有交点。
cpp
bool contains(const Geometry &other) const功能:
判断当前 Geometry 对象是否包含传入的另一个 Geometry 对象。
参数:
const Geometry &other:传入的另一个 Geometry 对象的引用。
返回值:
当前 Geometry 对象是否包含传入的另一个 Geometry 对象,true 表示包含,false 表示不包含。
cpp
bool overlaps(const Geometry &other) const功能:
判断当前 Geometry 对象是否与传入的另一个 Geometry 对象重叠。
参数:
const Geometry &other:传入的另一个 Geometry 对象的引用。
返回值:
当前 Geometry 对象是否与传入的另一个 Geometry 对象重叠,true 表示重叠,false 表示不重叠。
cpp
bool intersects(const Geometry &other) const功能:
判断当前 Geometry 对象是否与传入的另一个 Geometry 对象相交。
参数:
const Geometry &other:传入的另一个 Geometry 对象的引用。
返回值:
当前 Geometry 对象是否与传入的另一个 Geometry 对象相交,true 表示相交,false 表示不相交。
cpp
bool isSubClassOf(const Geometry &other) const功能:
判断当前 Geometry 对象是否是传入的另一个 Geometry 对象的子类。
参数:
const Geometry &other:传入的另一个 Geometry 对象的引用。
返回值:
当前对象是否是传入的另一个 Geometry 对象的子类,true 表示是,false 表示不是。
cpp
Geometry &appendVertex(const Coordinate& v)功能:
向当前 Geometry 对象添加一个顶点坐标,并返回修改后的 Geometry 对象的引用。
参数:
const Coordinate& v:待插入的顶点坐标。
返回值:
添加一个顶点坐标后的 Geometry 对象的引用。
cpp
Geometry &insertVertex(int i, const Coordinate& v)功能:
在当前 Geometry 对象的顶点列表中的指定位置 i 处插入一个新的顶点坐标 v,并返回对修改后的 Geometry 对象的引用。
参数:
int i:待插入顶点在顶点列表中的位置。
const Coordinate& v:待插入的顶点坐标。
返回值:
插入顶点坐标后的 Geometry 对象的引用。
cpp
Geometry &switchVertex(int i, const Coordinate& v)功能:
替换当前 Geometry 对象的顶点列表中的指定位置 i 处的顶点坐标为新的顶点坐标 v,并返回对修改后的 Geometry 对象的引用。
参数:
int i:待插入顶点在顶点列表中的位置。
const Coordinate& v:待替换的新顶点坐标。
返回值:
替换顶点坐标后的 Geometry 对象的引用。
cpp
Geometry &removeVertex(int i, int n = 1)功能:
从当前 Geometry 对象的顶点列表中的指定位置 i 处删除指定数量 n 个的顶点坐标,并返回对修改后的 Geometry 对象的引用。
参数:
int i:将在顶点列表中删除顶点坐标的位置。
int n:待删除的顶点坐标的数量,默认为 1。
返回值:
删除顶点坐标后的 Geometry 对象的引用。
cpp
Geometry &resetVertices(const Coordinates& vs)功能:
重置当前 Geometry 对象的顶点坐标为指定的一组新坐标,并返回对修改后的 Geometry 对象的引用。
参数:
const Coordinates& vs:要用于重置的新顶点坐标集合。
返回值:
重置为新顶点坐标后的 Geometry 对象的引用。
cpp
Geometry &clearVertices()功能:
清空当前 Geometry 对象的所有顶点坐标,并返回对修改后的 Geometry 对象的引用。
参数:
返回值:
清空所有顶点坐标后的 Geometry 对象的引用。
cpp
Geometry &appendSubset(const Geometry &g)功能:
向当前 Geometry 对象中添加一个子集 Geometry 对象,并返回对修改后的 Geometry 对象的引用。
参数:
const Geometry &g:待添加为子集的 Geometry 对象。
返回值:
添加子集后的 Geometry 对象的引用。
cpp
Geometry &insertSubset(int i, const Geometry &g)功能:
在当前 Geometry 对象的子集列表的指定位置插入一个子集 Geometry 对象,并返回对修改后的 Geometry 对象的引用。
参数:
int i:要插入子集 Geometry 对象的位置,通常是子集列表中的索引。
const Geometry &g:要插入的 Geometry 对象。
返回值:
插入子集后的 Geometry 对象的引用。
cpp
Geometry &switchSubset(int i, const Geometry &g)功能:
替换当前 Geometry 对象的子集列表的指定位置 i 处的子集 Geometry 对象,并返回修改后的 Geometry 对象的引用。
参数:
int i:要替换子集 Geometry 对象的位置,通常是子集列表中的索引。
const Geometry &g:要替换的 Geometry 对象。
返回值:
替换子集后的 Geometry 对象的引用。
cpp
Geometry &removeSubset(int i, int n = 1)功能:
移除当前 Geometry 对象的子集列表的指定位置 i 处的 n 个子集 Geometry 对象,并返回修改后的 Geometry 对象的引用。
参数:
int i:要移除的子集 Geometry 对象的位置,通常是子集列表中的索引。
int n:要移除的子集 Geometry 对象的数量,默认为 1.
返回值:
移除子集后的 Geometry 对象的引用。
cpp
Geometry &clearSubsets()功能:
清除当前 Geometry 对象的所有子集。
参数:
返回值:
清除所有子集后的 Geometry 对象的引用。
cpp
const Segments toSegments() const功能:
将当前 Geometry 对象转换为 Segments(线段的集合)。
参数:
返回值:
Segments(线段的集合)
cpp
const Geometry clone() const功能:
获取当前 Geometry 对象的副本。
参数:
返回值:
当前 Geometry 对象的副本。
cpp
const Geometry unite(const Geometry &other) const功能:
将当前 Geometry 对象与传入的另一个 Geometry 对象合并成一个新的 Geometry 对象。
参数:
const Geometry &other:传入的另一个 Geometry 对象的引用。
返回值:
合并之后的新的 Geometry 对象的引用。
cpp
const Geometry buffer(double distance, int quadSegs = 30) const功能:
对当前 Geometry 对象进行缓冲区操作。
参数:
double distance:缓冲距离。
int quadSegs:用于创建缓冲区的四分之一圆弧的段数,默认为 30。
返回值:
进行缓冲区操作之后的新 Geometry 对象的引用。
cpp
const Geometry simplify(double tolerance, bool preserveTopology = false) const功能:
对当前 Geometry 对象进行简化操作,并返回一个新的 Geometry 对象。
参数:
double tolerance:用于简化 Geometry 对象的公差。
bool preserveTopology:是否在简化过程中保持拓扑结构,默认为 false。
返回值:
简化后的新 Geometry 对象。
cpp
const Geometry intersect(const Geometry &other) const功能:
计算当前 Geometry 对象与传入的另一个 Geometry 对象的交集。
参数:
const Geometry &other:传入的另一个 Geometry 对象的引用。
返回值:
当前 Geometry 对象与另一个 Geometry 对象的交集。
cpp
const Geometry difference(const Geometry &other) const功能:
计算当前 Geometry 对象与传入的另一个 Geometry 对象的差集。
参数:
const Geometry &other:传入的另一个 Geometry 对象的引用。
返回值:
当前 Geometry 对象与另一个 Geometry 对象的差集。
cpp
const Geometry segmentize(double maxLength) const功能:
将当前 Geometry 对象分割成较短的线段,且分割后的线段长度不超过 maxLength
参数:
double maxLength:分割线段的最大长度。
返回值:
分割后的新 Geometry 对象。
cpp
const Geometry polygonize() const功能:
将当前 Geometry 对象转换为多边形表示形式。
参数:
返回值:
转换为多边形表示形式的新 Geometry 对象。
cpp
const Geometry convexHull() const功能:
计算当前 Geometry 对象的凸包,并返回一个新的 Geometry 对象。
参数:
返回值:
计算凸包后的新 Geometry 对象。
cpp
const Geometry symmetricDifference(const Geometry &other) const功能:
计算当前 Geometry 对象与传入的另一个 Geometry 对象的对称差异。
参数:
const Geometry &other:传入的另一个 Geometry 对象的引用。
返回值:
两个 Geometry 对象的对称差异部分。
cpp
const Geometry delaunayTriangulate(double tolerance, bool onlyEdges) const功能:
对当前 Geometry 对象进行德劳内三角剖分,并返回一个新的 Geometry 对象。
参数:
double tolerance:进行德劳内三角剖分的容差。
bool onlyEdges:是否仅返回德劳内三角剖分的边。
返回值:
进行德劳内三角剖分后的新 Geometry 对象。
cpp
const Geometry transformTo(const String &dstSRS)功能:
将当前 Geometry 对象从一个空间参考系统转换到另一个,以便在不同的坐标系统或投影中进行空间分析、显示或处理。
参数:
const String &dstSRS:待转换为的空间参考系统。
返回值:
转换为新的空间参考系统后的新 Geometry 对象。
cpp
const Geometry findElevations() const功能:
查询当前 Geometry 对象的高程或海拔数据,并返回一个新的 Geometry 对象。
参数:
返回值:
查询高程后的新的 Geometry 对象。
cpp
const Geometry rasterizeLines() const功能:
将当前线 Geometry 对象转化为栅格数据。
参数:
返回值:
转化为栅格数据的新 Geometry 对象。
cpp
const Geometry localExtremums(double dfEpsilon = 1) const功能:
查找当前 Geometry 对象上的局部极值点。
参数:
double dfEpsilon:查找局部极值的阈值,默认为 1。
返回值:
查找局部极值点后的新 Geometry 对象。
cpp
const Geometry forceTo(GeometryType targetType, const StringMap &options) const功能:
将当前 Geometry 对象强制转换为指定的几何类型,并返回一个新的几何对象。
参数:
GeometryType targetType:欲转换为的几何类型。
const StringMap &options:其他控制转换的相关参数。
返回值:
强制转后的新 Geometry 对象。
cpp
const Geometry forceToPolygon() const功能:
将当前 Geometry 对象强制转换为多边形类型。
参数:
返回值:
转换为多边形类型的新 Geometry 对象。
cpp
const Geometry forceToLineString() const功能:
将当前 Geometry 对象强制转换为线串类型。
参数:
返回值:
转换为线串类型的新 Geometry 对象。
cpp
const Geometry forceToMultiPoint() const功能:
将当前 Geometry 对象强制转换为多点类型。
参数:
返回值:
转换为多点类型的新 Geometry 对象。
cpp
const Geometry forceToMultiPolygon() const功能:
将当前 Geometry 对象强制转换为多面类型。
参数:
返回值:
转换为多面类型的新 Geometry 对象。
cpp
const Geometry forceToMultiLineString() const功能:
将当前 Geometry 对象强制转换为多线串类型。
参数:
返回值:
转换为多线串类型的新 Geometry 对象。
1.7. Class mission
1.7.1. 构造方法
cpp
explicit mission(const String &mName = "",
const player &commander = player(),
const player &performer = player(),
const Entity &origination = Entity(),
const Entity &destination = Entity(),
const String &mComment = "")功能:
创建任务 mission。
参数:
mName:名字。
commander:指挥者。
performer:执行者。
origination:起始点。
destination:终点
mComment:自定义字段。
返回值:
1.7.2. 所有方法
cpp
mission &operator=(const mission &)功能:
重载等号运算符。
参数:
mission。
返回值:
mission。
cpp
const DateTime createdate() const功能:
获取任务创建时间。
参数:
返回值:
任务创建时间。
cpp
virtual const Entity origination() const功能:
获取任务的起始点。
参数:
返回值:
任务起始点。
cpp
virtual void origination(Entity &)功能:
设置任务的起始点。
参数:
起始点的实体。
返回值:
cpp
virtual const Entity destination() const功能:
获取任务的终点。
参数:
返回值:
任务终点。
cpp
virtual void destination(Entity &)功能:
设置任务的终点。
参数:
终点的实体。
返回值:
cpp
virtual const Entity roadmap() const功能:
获取任务的航线图。
参数:
返回值:
任务航线图。
cpp
virtual void roadmap(Entity &)功能:
设置任务的航线图。
参数:
任务航线图的实体。
返回值:
cpp
virtual const player commander() const功能:
获取任务的指挥者。
参数:
返回值:
任务指挥者。
cpp
virtual void commander(player &)功能:
设置任务的指挥者。
参数:
任务指挥者。
返回值:
cpp
virtual const player performer() const功能:
获取任务的执行者。
参数:
返回值:
任务执行者。
cpp
virtual void performer(player &)功能:
设置任务的执行者。
参数:
任务执行者。
返回值:
cpp
virtual const Stage stage() const功能:
获取任务的阶段。
参数:
返回值:
任务阶段。
cpp
virtual Property& stage()功能:
返回任务的阶段属性。
参数:
返回值:
任务阶段属性。
cpp
virtual const missions subsets() const功能:
获取任务的子任务集。
参数:
返回值:
子任务集。
cpp
virtual void subsets(missions &)功能:
设置任务的子任务集。
参数:
子任务集。
返回值:
cpp
virtual const mission selection() const功能:
获取当前选择的子任务。
参数:
返回值:
子任务。
cpp
virtual void selection(const mission &)功能:
设置任务的子任务。
参数:
子任务。
返回值:
cpp
virtual bool append(mission &)功能:
添加子任务。
参数:
子任务。
返回值:
操作是否成功。
cpp
virtual bool insert(int index, mission &)功能:
在任务的指定位置插入子任务。
参数:
index:指定位置的索引号。
待插入的子任务。
返回值:
操作是否成功。
cpp
virtual bool remove(int index)功能:
移除指定位置的子任务。
参数:
index:待移除的子任务的索引号。
返回值:
操作是否成功。
cpp
virtual bool remove(const String &)功能:
移除指定 GUID 的子任务。
参数:
待移除的子任务的 GUID。
返回值:
操作是否成功。
cpp
virtual void clear()功能:
清除子任务。
参数:
返回值:
1.8. Class order
1.8.1. 构造方法
cpp
explicit order(const String &name = "",
const player &commander = player(),
const player &performer = player(),
const Entity &origination = Entity(),
const Entity &destination = Entity(),
const String &comment = "" )功能:
创建工单 order。
参数:
name:名字。
commander:指挥者。
performer:执行者。
origination:起始点。
destination:终点
comment:自定义字段。
返回值:
1.8.2. 所有方法
cpp
virtual ~order();功能:
析构函数。
参数:
返回值:
cpp
Virtual plan create(const String &name,
const player &performer = player(),
const Entity &origination = Entity(),
const Entity &destination = Entity(),
const String &comment = "" )功能:
在工单中创建计划。
参数:
name:名字。
performer:执行者。
origination:起始点。
destination:终点
comment:自定义字段。
返回值:
当前创建的计划。
1.9. Class plan
1.9.1. 构造方法
cpp
explicit plan(const String &name = "",
const player &commander = player(),
const player &performer = player(),
const Entity &origination = Entity(),
const Entity &destination = Entity(),
const String &comment = "")功能:
创建计划 plan。
参数:
name:名字。
commander:指挥者。
performer:执行者。
origination:起始点。
destination:终点
comment:自定义字段。
返回值:
1.9.2. 所有方法
cpp
~plan() = default功能:
析构函数。
参数:
返回值:
cpp
String assitantRouteType() const功能:
返回辅助航线类型。
参数:
返回值:
辅助航线类型。
cpp
Property& assitantRouteType()功能:
返回辅助航线类型属性。
参数:
返回值:
辅助航线类型属性。
cpp
route path() const功能:
获取计划的航线。
参数:
返回值:
计划中获取的航线。
cpp
void path(route &pth)功能:
设置计划的航线。
参数:
pth:计划航线。
返回值:
cpp
targets subTargets() const功能:
返回子目标。
参数:
返回值:
子目标。
cpp
void addTarget(target &tgt)功能:
添加目标。
参数:
tgt:目标。
返回值:
cpp
waypoint get(int index)功能:
按航点索引值获取航点。
参数:
index:索引值。
返回值:
航点 waypoint。
cpp
waypoint get(const String &wptguid)功能:
按航点 guid 值获取航点。
参数:
wptguid:航点 guid 值。
返回值:
航点。
cpp
bool append(waypoint &wpt)功能:
在计划中添加航点。
参数:
wpt:航点。
返回值:
是否添加成功。
cpp
bool append(waypoints &wpts)功能:
在计划中添加多个航点。
参数:
wpts:待添加的多个航点。
返回值:
是否添加成功。
cpp
bool append(route &path)功能:
在计划中添加航线。
参数:
path:航线。
返回值:
是否添加成功。
cpp
bool insert(int index, waypoint &wpt)功能:
在计划的指定位置插入航点。
参数:
index:待插入的航点的位置索引号。
wpt:待插入的航点。
返回值:
是否插入成功。
cpp
bool insert(int index, waypoints &wpts)功能:
在计划的指定位置插入多个航点。
参数:
index:待插入的航点的位置索引号。
wpts:待插入的多个航点。
返回值:
是否插入成功。
cpp
bool remove(int index)功能:
在计划中移除指定位置的航点。
参数:
index:待移除的航点的的位置索引号。
返回值:
操作是否成功。
cpp
bool remove(const String &wptguid)功能:
在计划中移除指定 GUID 的航点。
参数:
wptguid:待移除的航点的的 GUID。
返回值:
操作是否成功。
cpp
void clear()功能:
清除计划。
参数:
返回值:
cpp
void sort()功能:
航点重新排序,会根据辅助航点设置最后一个航点的下一个航点。
参数:
返回值:
重置属性。
cpp
void resetProperties()功能:
重置属性。
参数:
返回值:
cpp
bool checknoflyzone(const char *NoFlyZonepath, const char *liftNoFlypath)功能:
禁飞区检查
参数:
NoFlyZonepath:禁飞区路径。
liftNoFlyPath:解禁区域数据路径。
返回值:
是否为禁飞区。
1.10. Class planner
1.10.1. 构造方法
cpp
planner()功能:
构造 planner。
参数:
返回值:
1.10.2. 所有方法
cpp
virtual ~planner() = default功能:
析构函数。
参数:
返回值:
cpp
virtual planner &replan(target &targetT,
bool isLastOne = false,
ProgressCallback reporter = nullptr)功能:
规划计划的航线。
参数:
targetT:计划的目标
isLastOne:是否是最后一个(是为 true)
reporter:回调函数。
返回值:
规划器。
1.11. Class player
1.11.1. 构造方法
cpp
player()功能:
创建一个角色。
参数:
返回值:
cpp
player(player &&other)功能:
根据其他角色创建角色。
参数:
other:其他角色。
返回值:
cpp
player(const player &other)功能:
根据其他角色创建角色。
参数:
other:其他角色。
返回值:
1.11.2. 所有方法
cpp
virtual ~player() = default功能:
析构函数。
参数:
返回值:
cpp
player &operator=(const player &)功能:
重载等号运算符。
参数:
返回值:
角色。
cpp
const Entity home() const功能:
获取角色的 Home 点。
参数:
返回值:
角色的 Home 点的实体。
cpp
void home(Entity &)功能:
设置角色的 Home 点。
参数:
Home 点的实体。
返回值:
cpp
const vehicle mecha() const功能:
获取角色的载具。
参数:
返回值:
角色的载具。
cpp
void mecha(vehicle &)功能:
设置角色的载具。
参数:
载具。
返回值:
cpp
const player leader() const功能:
获取角色的领导者。
参数:
返回值:
角色的领导者。
cpp
void leader(player &)功能:
设置角色的领导者。
参数:
领导者。
返回值:
cpp
const players followers() const功能:
获取角色的跟随者。
参数:
返回值:
角色的跟随者。
cpp
void followers(players &)功能:
设置角色的跟随者。
参数:
跟随者。
返回值:
1.12. Class project
1.12.1. 构造方法
cpp
explicit project(const String &name = "",
const player &commander = player(),
const player &performer = player(),
const Entity &origination = Entity(),
const Entity &destination = Entity(),
const String &comment = "")功能:
创建工程 project。
参数:
name:工程名称。
commander:工程指挥者。
performer:工程执行者。
origination:工程起始点。
destination:工程终点。
comment:工程自定义字段。
返回值:
cpp
project(const String &projecturl,
const StringMap &options = StringMap())功能:
创建工程 project。
参数:
projecturl:工程数据集的 URL。
options:
返回值:
1.12.2. 所有方法
cpp
virtual ~project()功能:
析构函数。
参数:
返回值:
cpp
static project Open(const String &projecturl,
const StringMap &options = StringMap())功能:
打开工程。
参数:
projecturl:工程数据集的 URL。
options:
返回值:
当前打开的工程。
cpp
order create(const String &name,
const player &performer = player(),
const Entity &origination = Entity(),
const Entity &destination = Entity(),
const String &comment = "")功能:
在工程中创建工单。
参数:
name:待创建的工单名称。
performer:工单执行者。
origination:工单起始点。
destination:工单终点。
comment:工单自定义字段。
返回值:
当前创建的工单。
cpp
virtual void close()功能:
关闭工程。
参数:
返回值:
cpp
virtual void saveAs(const String &projecturl,
const String &drivername = "",
ProgressCallback reporter = nullptr)功能:
保存工程。
参数:
projecturl:工程数据集的 URL。
drivername :驱动的名称。
reporter :回调函数。
返回值:
1.13. Class route
1.13.1. 构造方法
cpp
route()功能:
创建航线 route。
参数:
返回值:
cpp
route(route &&)功能:
创建航线 route。
参数:
航线。
返回值:
cpp
route(const route &)功能:
创建航线 route。
参数:
航线。
返回值:
cpp
route(const waypoints &)功能:
创建航线 route。
参数:
航点列表。
返回值:
cpp
route(std::initializer_list<waypoint>)功能:
创建航线 route。
参数:
返回值:
1.13.2. 所有方法
cpp
route &operator=(const route &)功能:
重载等号运算符。
参数:
返回值:
航线。
cpp
waypoint &operator[](int)功能:
重载[]运算符。
参数:
返回值:
航点。
cpp
waypoint &entry()功能:
返回航线的进入点。
参数:
返回值:
航线的进入点。
cpp
const waypoint &entry() const功能:
返回航线的进入点。
参数:
返回值:
航线的进入点。
cpp
waypoint &leave()功能:
返回航线的退出点。
参数:
返回值:
航线的退出点。
cpp
const waypoint &leave() const功能:
返回航线的退出点。
参数:
返回值:
航线的退出点。
cpp
const waypoint &at(int) const功能:
返回航线中指定位置的航点。
参数:
航点索引。
返回值:
航线中指定位置的航点。
cpp
bool isEmpty() const功能:
返回航线是否为空。
参数:
返回值:
航线是否为空。
cpp
int count() const功能:
返回航点数量。
参数:
返回值:
航点数量。
cpp
route &insert(int,
waypoint &)功能:
在航线中插入航点。
参数:
航线中待插入的航点位置的索引。
待插入的航点。
返回值:
插入航点后的航线。
cpp
route &insert(int,
waypoints &)功能:
在航线中插入多个航点。
参数:
航线中待插入的航点位置的索引。
待插入的多个航点。
返回值:
插入多个航点后的航线。
cpp
route &append(waypoint &)功能:
在航线中新增航点。
参数:
待新增的航点。
返回值:
新增航点后的航线。
cpp
route &append(waypoints &)功能:
在航线中新多个增航点。
参数:
待新增的多个航点。
返回值:
新增多个航点后的航线。
cpp
route &remove(int,
int num = 1)功能:
按索引移除航线中的航点。
参数:
待移除航线的索引
num:移除的航点数量,默认为 1。
返回值:
移除航点后的航线。
cpp
route &remove(waypoint &)功能:
移除航线中的航点。
参数:
待移除的航点。
返回值:
移除航点后的航线。
cpp
route &reverse()功能:
翻转航点顺序。
参数:
返回值:
翻转后的航线。
cpp
route &sort()功能:
航线排序,最后一个航点的下一个航点为 0 号点。
参数:
返回值:
排序后的航线。
cpp
route &clear()功能:
清除航线。
参数:
返回值:
清除后的航线。
1.14. Class sensor
1.14.1. 构造方法
cpp
sensor()功能:
创建传感器 sensor。
参数:
返回值:
cpp
sensor(sensor &&)功能:
创建传感器 sensor。
参数:
传感器。
返回值:
cpp
sensor(const sensor &)功能:
创建传感器 sensor。
参数:
传感器。
返回值:
cpp
sensor &operator=(const sensor &)功能:
重载等号运算符。
参数:
传感器。
返回值:
传感器 sensor。
1.14.2. 所有方法
cpp
virtual ~sensor() = default功能:
析构函数。
参数:
返回值:
cpp
const double fov() const功能:
返回传感器视场角。
参数:
返回值:
传感器视场角。
cpp
Property& fov()功能:
返回传感器视场角属性。
参数:
返回值:
传感器视场角属性。
cpp
const double focalLength() const功能:
返回传感器焦距。
参数:
返回值:
传感器焦距。
cpp
const int pixelXSize() const功能:
返回传感器像素尺寸的长度。
参数:
返回值:
传感器像素尺寸的长度。
cpp
Property& pixelXSize()功能:
返回传感器像素尺寸长度属性。
参数:
返回值:
传感器像素尺寸长度属性。
cpp
const int pixelYSize() const功能:
返回传感器像素尺寸宽度。
参数:
返回值:
传感器像素尺寸宽度。
cpp
Property& pixelYSize()功能:
返回传感器像素尺寸宽度属性。
参数:
返回值:
传感器像素尺寸宽度属性。
cpp
const double frameXSize() const功能:
返回传感器框幅尺寸长度。
参数:
返回值:
传感器框幅尺寸长度。
cpp
Property& frameXSize()功能:
返回传感器框幅尺寸长度属性。
参数:
返回值:
传感器框幅尺寸长度属性。
cpp
const double frameYSize() const功能:
返回传感器框幅尺寸宽度。
参数:
返回值:
传感器框幅尺寸宽度。
cpp
Property& frameYSize()功能:
返回传感器框幅尺寸宽度属性。
参数:
返回值:
传感器框幅尺寸宽度属性。
cpp
const double frameZSize() const功能:
返回传感器框幅尺寸深度。
参数:
返回值:
传感器框幅尺寸深度。
cpp
Property& frameZSize()功能:
返回传感器框幅尺寸深度属性。
参数:
返回值:
传感器框幅尺寸深度属性。
cpp
const double frameXOffset() const功能:
返回传感器框幅与载体框幅 x 方向上的偏移量。
参数:
返回值:
传感器框幅与载体框幅 x 方向上的偏移量。
cpp
Property& frameXOffset()功能:
返回传感器框幅与载体框幅 x 方向上的偏移量属性。
参数:
返回值:
传感器框幅与载体框幅 x 方向上的偏移量属性。
cpp
const double frameYOffset() const功能:
返回传感器框幅与载体框幅 y 方向上的偏移量。
参数:
返回值:
传感器框幅与载体框幅 y 方向上的偏移量。
cpp
Property& frameYOffset()功能:
返回传感器框幅与载体框幅 y 方向上的偏移量属性。
参数:
返回值:
传感器框幅与载体框幅 y 方向上的偏移量属性。
cpp
const double frameZOffset() const功能:
返回传感器框幅与载体框幅 z 方向上的偏移量。
参数:
返回值:
传感器框幅与载体框幅 z 方向上的偏移量。
cpp
Property& frameZOffset()功能:
返回传感器框幅与载体框幅 z 方向上的偏移量属性。
参数:
返回值:
传感器框幅与载体框幅 z 方向上的偏移量属性。
cpp
const double frameXRotation() const功能:
返回传感器框幅与载体框幅绕 x 轴方向上的角度偏移量。
参数:
返回值:
传感器框幅与载体框幅绕 x 轴方向上的角度偏移量。
cpp
Property& frameXRotation()功能:
返回传感器框幅与载体框幅绕 x 轴方向上的角度偏移量属性。
参数:
返回值:
传感器框幅与载体框幅绕 x 轴方向上的角度偏移量属性。
cpp
const double frameYRotation() const功能:
返回传感器框幅与载体框幅绕 y 轴方向上的角度偏移量。
参数:
返回值:
传感器框幅与载体框幅绕 y 轴方向上的角度偏移量。
cpp
Property& frameYRotation()功能:
返回传感器框幅与载体框幅绕 y 轴方向上的角度偏移量属性。
参数:
返回值:
传感器框幅与载体框幅绕 y 轴方向上的角度偏移量属性。
cpp
const double frameZRotation() const功能:
返回传感器框幅与载体框幅绕 z 轴方向上的角度偏移量。
参数:
返回值:
传感器框幅与载体框幅绕 z 轴方向上的角度偏移量。
cpp
Property& frameZRotation()功能:
返回传感器框幅与载体框幅绕 z 轴方向上的角度偏移量属性。
参数:
返回值:
传感器框幅与载体框幅绕 z 轴方向上的角度偏移量属性。
cpp
const String model() const功能:
返回传感器型号。
参数:
返回值:
传感器型号。
cpp
Property& model()功能:
返回传感器型号属性。
参数:
返回值:
传感器型号属性。
1.15. Class target
1.15.1. 构造方法
cpp
target()功能:
创建目标 target。
参数:
返回值:
cpp
target(target &&other)功能:
根据其他目标创建目标。
参数:
other:其他目标。
返回值:
cpp
target(const target &other)功能:
根据其他目标创建目标。
参数:
other:其他目标。
返回值:
cpp
target(const Entity &other)功能:
根据其他目标创建目标。
参数:
other:其他目标。
返回值:
1.15.2. 所有方法
cpp
virtual ~target() = default功能:
析构函数。
参数:
返回值:
cpp
target &operator=(const target &)功能:
重载等号运算符。
参数:
目标。
返回值:
目标。
cpp
const bool isTurningRight() const功能:
返回目标的主转向符。
参数:
返回值:
目标的主转向符。
cpp
Property& isTurningRight()功能:
返回目标的主转向符属性。
参数:
返回值:
目标的主转向符属性。
cpp
const double routeSpacing() const功能:
返回目标的航线间距。
参数:
返回值:
目标的航线间距。
cpp
Property& routeSpacing()功能:
返回目标的航线间距属性。
参数:
返回值:
目标的航线间距属性。
cpp
const double frontalBearing() const功能:
返回目标的主航向角。
参数:
返回值:
目标的主航向角。
cpp
Property& frontalBearing()功能:
返回目标的主航向角属性。
参数:
返回值:
目标的主航向角属性。
cpp
const double relativeHeight() const功能:
返回目标的相对航高。
参数:
返回值:
目标的相对航高。
cpp
Property& relativeHeight()功能:
返回目标的相对航高属性。
参数:
返回值:
目标的相对航高属性。
cpp
const double frontalEntryOffset() const功能:
返回目标的航向进入偏移量。
参数:
返回值:
目标的航向进入偏移量。
cpp
Property& frontalEntryOffset()功能:
返回目标的航向进入偏移量属性。
参数:
返回值:
目标的航向进入偏移量属性。
cpp
const double frontalLeaveOffset() const功能:
返回目标的航向离开偏移量。
参数:
返回值:
目标的航向离开偏移量。
cpp
Property& frontalLeaveOffset()功能:
返回目标的航向离开偏移量属性。
参数:
返回值:
目标的航向离开偏移量属性。
cpp
const double lateralEntryOffset() const功能:
返回目标的旁向进入偏移量。
参数:
返回值:
目标的旁向进入偏移量。
cpp
Property& lateralEntryOffset()功能:
返回目标的旁向进入偏移量属性。
参数:
返回值:
目标的旁向进入偏移量属性。
cpp
const double lateralLeaveOffset() const功能:
返回目标的旁向离开偏移量。
参数:
返回值:
目标的旁向离开偏移量。
cpp
Property& lateralLeaveOffset()功能:
返回目标的旁向离开偏移量属性。
参数:
返回值:
目标的旁向离开偏移量属性。
cpp
const double distanceToBuffer() const功能:
返回目标的缓冲区距离。
参数:
返回值:
目标的缓冲区距离。
cpp
Property& distanceToBuffer()功能:
返回目标的缓冲区距离属性。
参数:
返回值:
目标的缓冲区距离属性。
cpp
const int stripeCount() const功能:
返回目标的航带条数。
参数:
返回值:
目标的航带条数。
cpp
Property& stripeCount()功能:
返回目标的航带条数属性。
参数:
返回值:
目标的航带条数属性。
cpp
const EntryPoint currentEntryPoint() const功能:
返回目标的当前进入点。
参数:
返回值:
目标的当前进入点。
cpp
Property& currentEntryPoint()功能:
返回目标的当前进入点属性。
参数:
返回值:
目标的当前进入点属性。
cpp
const double datumElevation() const功能:
返回基准面高程。
参数:
返回值:
基准面高程。
cpp
Property& datumElevation()功能:
返回基准面高程属性。
参数:
返回值:
基准面高程属性。
cpp
const bool adaptiveAltitude() const功能:
返回是否仿地飞行。
参数:
返回值:
是否仿地飞行。
cpp
Property& adaptiveAltitude()功能:
返回仿地飞行属性。
参数:
返回值:
仿地飞行属性。
cpp
const bool adaptiveLine() const功能:
返回是否仿线飞行。
参数:
返回值:
是否仿线飞行。
cpp
Property& adaptiveLine()功能:
返回仿线飞行属性。
参数:
返回值:
仿线飞行属性。
cpp
const double relHeightMin() const功能:
返回目标的最小相对航高。
参数:
返回值:
目标的最小相对航高。
cpp
Property& relHeightMin()功能:
返回目标的最小相对航高属性。
参数:
返回值:
目标的最小相对航高属性。
cpp
const double descendMax() const功能:
返回目标的最大下降角。
参数:
返回值:
目标的最大下降角。
cpp
Property& descendMax()功能:
返回目标的最大下降角属性。
参数:
返回值:
目标的最大下降角属性。
cpp
const double ascendMax() const功能:
返回目标的最大爬升角。
参数:
返回值:
目标的最大爬升角。
cpp
Property& ascendMax()功能:
返回目标的最大爬升角属性。
参数:
返回值:
目标的最大爬升角属性。
cpp
const bool frameworkEnable() const功能:
返回目标是否生成构架航线。
参数:
返回值:
目标是否生成构架航线。
cpp
Property& frameworkEnable()功能:
返回目标的是否生成构架航线属性。
参数:
返回值:
目标的是否生成构架航线属性。
cpp
const bool frameworkPrior() const功能:
返回目标是否构架优先。
参数:
返回值:
目标是否构架优先。
cpp
Property& frameworkPrior()功能:
返回目标的是否构架优先属性。
参数:
返回值:
目标的是否构架优先属性。
cpp
const int frameworkEndsCount() const功能:
返回目标构架起始倍数。
参数:
返回值:
目标构架起始倍数。
cpp
Property& frameworkEndsCount()功能:
返回目标构架起始倍数属性。
参数:
返回值:
目标构架起始倍数属性。
cpp
const int frameworkPairCount() const功能:
返回目标构架对数。
参数:
返回值:
目标构架对数。
cpp
Property& frameworkPairCount()功能:
返回目标构架对数属性。
参数:
返回值:
目标构架对数属性。
cpp
const double frameworkRaisedHeight() const功能:
返回目标构架高差。
参数:
返回值:
目标构架高差。
cpp
Property& frameworkRaisedHeight()功能:
返回目标构架高差属性。
参数:
返回值:
目标构架高差属性。
cpp
const bool isMapping() const功能:
返回目标是否开启测绘拼图模式。
参数:
返回值:
目标是否开启测绘拼图模式。
cpp
Property& isMapping()功能:
返回目标是否开启测绘拼图模式属性。
参数:
返回值:
目标是否开启测绘拼图模式属性。
cpp
const bool isLidarEight() const功能:
返回目标是否开启首尾雷达八字航线。
参数:
返回值:
目标是否开启首尾雷达八字航线。
cpp
Property& isLidarEight()功能:
返回目标是否开启首尾雷达八字航线属性。
参数:
返回值:
目标是否开启首尾雷达八字航线属性。
cpp
const bool isLidarHighPrecision() const功能:
返回目标是否开启雷达高精度航姿。
参数:
返回值:
目标是否开启雷达高精度航姿。
cpp
Property& isLidarHighPrecision()功能:
返回目标是否开启雷达高精度航姿属性。
参数:
返回值:
目标是否开启雷达高精度航姿属性。
cpp
const bool isGroup() const功能:
返回目标是否是航点组。
参数:
返回值:
目标是否是航点组。
cpp
Property& isGroup()功能:
返回目标是否是航点组属性。
参数:
返回值:
目标是否是航点组属性。
cpp
const int photoNumber() const功能:
返回拍照数。
参数:
返回值:
拍照数。
cpp
Property& photoNumber()功能:
返回拍照数属性。
参数:
返回值:
拍照数属性。
cpp
const Feature &block() const功能:
返回目标块(目标生成的缓冲区)。
参数:
返回值:
目标块(目标生成的缓冲区)。
cpp
Feature &block()功能:
返回目标块(目标生成的缓冲区)。
参数:
返回值:
目标块(目标生成的缓冲区)。
cpp
const Feature &draft() const功能:
返回目标草图。
参数:
返回值:
目标草图。
cpp
Feature &draft()功能:
返回目标草图。
参数:
返回值:
目标草图。
cpp
void resetProperties()功能:
重置目标属性。
参数:
返回值:
1.16. Class vehicle
1.16.1. 构造方法
cpp
vehicle()功能:
创建载机 vehicle。
参数:
返回值:
cpp
vehicle(vehicle &&)功能:
创建载机 vehicle。
参数:
载机。
返回值:
cpp
vehicle(const vehicle &)功能:
创建载机 vehicle。
参数:
载机。
返回值:
cpp
vehicle(double orbitRadius,
double floor = DBL_NaN,
double ceiling = DBL_NaN,
double clearance = DBL_NaN,
double descendLimit = DBL_NaN,
double ascendLimit = DBL_NaN)功能:
创建载机 vehicle。
参数:
orbitRadius:盘旋半径。
floor:最低飞行高度。
ceiling:最高飞行高度。
clearance:相对基准面的标准净空距离。
descendLimit:最大下滑角。
ascendLimit:最大爬升角。
返回值:
1.16.2. 所有方法
cpp
vehicle &operator=(const vehicle &)功能:
重载等号运算符。
参数:
载机。
返回值:
载机。
cpp
sensor payload() const功能:
返回载机载荷。
参数:
返回值:
载机载荷。
cpp
void payload(sensor&)功能:
设置载机载荷。
参数:
载荷。
返回值:
cpp
double orbitRadius() const功能:
返回载机盘旋半径值。
参数:
返回值:
载机盘旋半径值。
cpp
Property& orbitRadius()功能:
返回载机盘旋半径属性。
参数:
返回值:
载机盘旋半径属性。
cpp
double floor() const功能:
返回载机最低飞行高度。
参数:
返回值:
载机最低飞行高度。
cpp
Property& floor()功能:
返回载机最低飞行高度属性。
参数:
返回值:
载机最低飞行高度属性。
cpp
double ceiling() const功能:
返回载机最高飞行高度。
参数:
返回值:
载机最高飞行高度。
cpp
Property& ceiling()功能:
返回载机最高飞行高度属性。
参数:
返回值:
载机最高飞行高度属性。
cpp
double clearance() const功能:
返回载机相对基准面的标准净空距离。
参数:
返回值:
载机相对基准面的标准净空距离。
cpp
Property& clearance()功能:
返回载机相对基准面的标准净空距离属性。
参数:
返回值:
载机相对基准面的标准净空距离属性。
cpp
double ascendLimit() const功能:
返回载机极限爬升角。
参数:
返回值:
载机极限爬升角。
cpp
Property& ascendLimit()功能:
返回载机极限爬升角属性。
参数:
返回值:
载机极限爬升角属性。
cpp
double descendLimit() const功能:
返回载机极限下滑角。
参数:
返回值:
载机极限下滑角。
cpp
Property& descendLimit()功能:
返回载机极限下滑角属性。
参数:
返回值:
载机极限下滑角属性。
cpp
double minTurnAngle() const功能:
返回载机转弯阈值。
参数:
返回值:
载机转弯阈值。
cpp
Property& minTurnAngle()功能:
返回载机转弯阈值属性。
参数:
返回值:
载机转弯阈值属性。
cpp
const String model() const功能:
返回载机型号。
参数:
返回值:
载机型号。
cpp
Property& model()功能:
返回载机型号属性。
参数:
返回值:
载机型号属性。
1.17. Class waypoint
1.17.1. 构造方法
cpp
explicit waypoint(double longitude = DBL_NaN,
double latitude = DBL_NaN,
double altitude = DBL_NaN,
double datetime = GTM_EPOCH,
MotionType motionType = 0,
double orbitRadius = 0.0,
double orbitTime = 0.0,
double speed = DBL_NaN,
int index = -1)功能:
创建航点 waypoint。
参数:
longitude:航点经度。
latitude:航点纬度。
altitude:航点海拔。
datetime:航点日期时间。
motionType:航点运动类型。
orbitRadius:盘旋半径。
orbitTime:盘旋时间。
speed:飞行速度。
index:航点的位置索引号。
返回值:
cpp
explicit waypoint(const Coordinate& position,
MotionType motionType = 0,
double orbitRadius = 0.0,
double orbitTime = 0.0,
double speed = DBL_NaN,
const EulerAngles& posture = EA_DEF_VAL,
int index = -1)功能:
创建航点 waypoint。
参数:
position:航点坐标,包括经度、纬度、海拔、日期时间。
motionType:航点运动类型。
orbitRadius:盘旋半径。
orbitTime:盘旋时间。
speed:飞行速度。
posture:航点欧拉角。
index:航点的位置索引号。
返回值:
cpp
waypoint(waypoint &&other)功能:
根据其他航点创建航点。
参数:
other:其他航点。
返回值:
cpp
waypoint(const waypoint &other)功能:
根据其他航点创建航点。
参数:
other:其他航点。
返回值:
1.17.2. 所有方法
cpp
virtual ~waypoint() = default功能:
析构函数。
参数:
返回值:
cpp
waypoint &operator=(const waypoint &) = default功能:
重载等号运算符。
参数:
航点。
返回值:
航点。
cpp
const int index() const功能:
返回航点的索引号。
参数:
返回值:
航点的索引号。
cpp
Property& index()功能:
返回航点的索引属性。
参数:
返回值:
航点的索引属性。
cpp
const int prevIndex() const功能:
返回上一个航点的索引号。
参数:
返回值:
上一个航点的索引号。
cpp
Property& prevIndex()功能:
返回上一个航点的索引属性。
参数:
返回值:
上一个航点的索引属性。
cpp
const int nextIndex() const功能:
返回下一个航点的索引号。
参数:
返回值:
下一个航点的索引号。
cpp
Property& nextIndex()功能:
返回下一个航点的索引属性。
参数:
返回值:
下一个航点的索引属性。
cpp
const double absSpeed() const功能:
返回航点的绝对速度值。
参数:
返回值:
航点的绝对速度值。
cpp
Property& absSpeed()功能:
返回航点的绝对速度属性。
参数:
返回值:
航点的绝对速度属性。
cpp
const double orbitTime() const功能:
返回航点的盘旋时间。
参数:
返回值:
航点的盘旋时间。
cpp
Property& orbitTime()功能:
返回航点的盘旋时间属性。
参数:
返回值:
航点的盘旋时间属性。
cpp
const double orbitRadius() const功能:
返回航点的盘旋半径。
参数:
返回值:
航点的盘旋半径。
cpp
Property& orbitRadius()功能:
返回航点的盘旋半径属性。
参数:
返回值:
航点的盘旋半径属性。
cpp
const MotionType motionType() const功能:
返回航点的运动类型。
参数:
返回值:
航点的运动类型。
cpp
Property& motionType()功能:
返回航点的运动类型属性。
参数:
返回值:
航点的运动类型属性。

