IndoorMapSDK
室内地图SDK参考文档
首页
类
文件
示例
文件列表
全部
类
函数
变量
属性
OIMType.h
1
//
2
// OIMType.h
3
// IndoorMapSDK
4
//
5
// Created by Macro on 15/11/27.
6
// Copyright © 2015年 Macro. All rights reserved.
7
//
8
9
10
#import <Foundation/Foundation.h>
11
29
typedef
int
OIMErrorCode;
30
36
#define OIMError_Error -1
37
43
#define OIMError_NetworkError -300
44
50
#define OIMError_NetworkDisconnect -301
51
57
#define OIMError_NetworkTimeout -302
58
64
#define OIMError_ContentWrong -303
65
71
#define OIMError_LBSError -400
72
82
#define OIMError_LBSErrorKey -401
83
93
#define OIMError_StyleError -500
94
100
#define OIMError_StyleErrorJson -501
101
107
#define OIMError_FloorNoInvalid -511
108
114
#define OIMError_RouteInvalid -521
115
121
#define OIMError_DataError -530
122
128
#define OIMError_DataNotExist -531
129
130
136
#define OIMOK 0
137
143
#define OIMERR OIMError_Error
144
145
146
152
typedef
int
OIMFeatureStatus;
153
159
#define OIMFeatureStatus_Normal 0
160
166
#define OIMFeatureStatus_Selected 2
167
173
#define OIMFeatureStatus_Checked 4
174
180
#define OIMFeatureStatus_RouteStart 8
181
187
#define OIMFeatureStatus_RouteStop 16
188
189
195
typedef
int
OIMFollowingMode;
196
202
#define OIMFollowingMode_DontFollow 0
203
212
#define OIMFollowingMode_FollowLocation 1
213
222
#define OIMFollowingMode_FollowLocationAndDirection 3
223
224
230
typedef
union
OIMPoint
231
{
237
struct
{
double
x, y, z; };
238
246
struct
{
double
longitude, latitude, floorNo; };
247
253
double
v
[3];
254
255
}
OIMPoint
;
256
262
typedef
OIMPoint
OIMCoordinate
;
263
275
inline
OIMPoint
OIMPointMake(
double
x,
double
y,
double
z)
276
{
277
OIMPoint
p = {x, y, z};
278
return
p;
279
}
280
OIMPoint::v
double v[3]
v[3] 数组形式的值
Definition:
OIMType.h:253
OIMPoint
三维点坐标
Definition:
OIMType.h:230
OIMType.h
制作者
1.8.5