Map Doc  1.0
iOS-引擎SDK-开放平台
MBRoutePointCollector类 参考

#import <MBRoutePointCollector.h>

类 MBRoutePointCollector 继承关系图:

构造函数

(void) - setFetchDistanceForward:
 
(void) - setFetchDistanceBackward:
 
(void) - enableSmoothing:
 
(void) - setSmoothInterval:
 
(void) - setJunctionSmoothIntensity:
 
(CGFloat) - junctionSmoothIntensity
 

属性

id< MBRoutePointCollectorDelegate > delegate
 

详细描述

路线收集类 采集自车位置前方和后方的点集,需在导航模块初始化后使用

函数文档

◆ enableSmoothing:()

- (void) enableSmoothing: (BOOL)  enable

设置是否采用平滑

参数
enable是否采用平滑

◆ junctionSmoothIntensity()

- (CGFloat) junctionSmoothIntensity

◆ setFetchDistanceBackward:()

- (void) setFetchDistanceBackward: (CGFloat)  distInMeter

设置后方抓取点的距离

参数
distInMeter后方抓取点的距离

◆ setFetchDistanceForward:()

- (void) setFetchDistanceForward: (CGFloat)  distInMeter

设置前方抓取点的距离

参数
distInMeter前方抓取点的距离

◆ setJunctionSmoothIntensity:()

- (void) setJunctionSmoothIntensity: (CGFloat)  intensity

设置路口处的平滑强度,默认为1

参数
intensity路口处的平滑强度

◆ setSmoothInterval:()

- (void) setSmoothInterval: (CGFloat)  intervalInMeter

设置平滑前的预采样点间隔,越大平滑粒度越大,默认为5

参数
intervalInMeter平滑前的预采样点间隔

属性说明

◆ delegate

- (id<MBRoutePointCollectorDelegate>) delegate
readwritenonatomicweak

设置代理


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