TencentMapSDK_iOS_3D_v6.7.0

QMSDistanceMatrixSearchResult.h
1 //
2 // QMSDistanceMatrixSearchResult.h
3 // QMapSearchKit
4 //
5 // Created by Keith Cao on 2023/4/25.
6 // Copyright © 2023 tencent. All rights reserved.
7 //
8
9 #import "QMSSearchResult.h"
10
11 NS_ASSUME_NONNULL_BEGIN
12
13 @interface QMSDistanceMatrixElementUnit : QMSBaseResult
14
18 @property (nonatomic, assign) CGFloat distance;
19
24 @property (nonatomic,assign) CGFloat duration;
25
31 @property (nonatomic, nullable, strong) NSNumber *status;
32
33 @end
34
38 @interface QMSDistanceMatrixElement : QMSBaseResult
39
43 @property (nonatomic, copy) NSArray <QMSDistanceMatrixElementUnit *> *elements;
44
45 @end
46
51 @interface QMSDistanceMatrixSearchResult : QMSSearchResult
52
56 @property (nonatomic, copy) NSArray <QMSDistanceMatrixElement *> *rows;
57
58 @end
59
60 NS_ASSUME_NONNULL_END
QMSBaseResult
检索结果的基类
Definition: QMSSearchResult.h:30
QMSDistanceMatrixElementUnit::duration
CGFloat duration
表示从起点到终点的结合路况的时间，秒为单位
Definition: QMSDistanceMatrixSearchResult.h:24
QMSDistanceMatrixElement
距离矩阵计算结果的列
Definition: QMSDistanceMatrixSearchResult.h:39
QMSDistanceMatrixElementUnit::status
NSNumber * status
本对起终点计算的状态码
Definition: QMSDistanceMatrixSearchResult.h:31
QMSDistanceMatrixElementUnit::distance
CGFloat distance
起点到终点的距离，单位：米
Definition: QMSDistanceMatrixSearchResult.h:18
QMSSearchResult
检索结果
Definition: QMSSearchResult.h:38
QMSDistanceMatrixElementUnit
Definition: QMSDistanceMatrixSearchResult.h:14
QMSDistanceMatrixSearchResult
距离矩阵计算结果
Definition: QMSDistanceMatrixSearchResult.h:52