public class ProcessOption
extends java.lang.Object
| 构造器和说明 |
|---|
ProcessOption() |
ProcessOption(boolean needDenoise,
boolean needVacuate,
boolean needMapMatch,
int radiusThreshold,
TransportMode transportMode) |
ProcessOption(boolean needDenoise,
boolean needVacuate,
boolean needMapMatch,
int radiusThreshold,
TransportMode transportMode,
int denoiseStrength,
int vacuateStrength)
V3.1.9版本新增字段构造方法
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getDenoiseStrength()
获取去噪力度
|
int |
getRadiusThreshold() |
TransportMode |
getTransportMode() |
int |
getVacuateStrength()
获取抽稀力度
|
boolean |
isNeedDenoise() |
boolean |
isNeedMapMatch() |
boolean |
isNeedVacuate() |
ProcessOption |
setDenoiseStrength(int denoiseStrength)
去噪力度,默认为系统默认去噪。
|
ProcessOption |
setNeedDenoise(boolean needDenoise)
设置去噪,默认需要(false:不需要;true:需要)
|
ProcessOption |
setNeedMapMatch(boolean needMapMatch)
设置绑路,默认不需要(false:不需要;true:需要)
|
ProcessOption |
setNeedVacuate(boolean needVacuate)
设置抽稀,仅在查询历史轨迹时有效,默认需要(false:不需要;true:需要)
|
ProcessOption |
setRadiusThreshold(int radiusThreshold)
设置精度过滤,默认不需要(0:不需要,>0:radius过滤值)
|
ProcessOption |
setTransportMode(TransportMode transportMode)
设置交通方式,默认为驾车
V3.1.0版本(包括)后支持auto
|
void |
setVacuateStrength(int vacuateStrength)
抽稀力度,默认为系统默认抽稀。
|
java.lang.String |
toString() |
public ProcessOption()
public ProcessOption(boolean needDenoise,
boolean needVacuate,
boolean needMapMatch,
int radiusThreshold,
TransportMode transportMode)
needDenoise - 去噪needVacuate - 抽稀needMapMatch - 绑路radiusThreshold - 精度过滤transportMode - 交通方式public ProcessOption(boolean needDenoise,
boolean needVacuate,
boolean needMapMatch,
int radiusThreshold,
TransportMode transportMode,
int denoiseStrength,
int vacuateStrength)
needDenoise - 去噪needVacuate - 抽稀needMapMatch - 绑路radiusThreshold - 精度过滤transportMode - 交通方式denoiseStrength - 去噪力度vacuateStrength - 抽稀力度public boolean isNeedDenoise()
public ProcessOption setNeedDenoise(boolean needDenoise)
needDenoise - 是否需要去噪public boolean isNeedVacuate()
public ProcessOption setNeedVacuate(boolean needVacuate)
needVacuate - 是否需要抽稀public boolean isNeedMapMatch()
public ProcessOption setNeedMapMatch(boolean needMapMatch)
needMapMatch - 是否需要绑路public int getRadiusThreshold()
public ProcessOption setRadiusThreshold(int radiusThreshold)
radiusThreshold - 过滤精度值public TransportMode getTransportMode()
public ProcessOption setTransportMode(TransportMode transportMode)
transportMode - 交通方式,详细参见TransportModepublic int getDenoiseStrength()
public ProcessOption setDenoiseStrength(int denoiseStrength)
denoiseStrength - 去噪力度public int getVacuateStrength()
public void setVacuateStrength(int vacuateStrength)
vacuateStrength - 抽稀力度public java.lang.String toString()
toString 在类中 java.lang.Object