public final class ThresholdOption
extends java.lang.Object
| 构造器和说明 | 
|---|
| ThresholdOption() | 
| ThresholdOption(double speedingThreshold,
               double harshAccelerationThreshold,
               double harshBreakingThreshold,
               double harshSteeringThreshold) | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| double | getHarshAccelerationThreshold() | 
| double | getHarshBreakingThreshold() | 
| double | getHarshSteeringThreshold() | 
| double | getSpeedingThreshold() | 
| ThresholdOption | setHarshAccelerationThreshold(double harshAccelerationThreshold)设置急加速的加速度阈值,单位:m^2/s,默认值:1.67,仅支持正数 | 
| ThresholdOption | setHarshBreakingThreshold(double harshBreakingThreshold)设置急减速的加速度阈值,单位:m^2/s,默认值:-1.67,仅支持负数 | 
| ThresholdOption | setHarshSteeringThreshold(double harshSteeringThreshold)设置急转弯的向心加速度阈值,单位:m^2/s,默认值:5,仅支持正数 | 
| ThresholdOption | setSpeedingThreshold(double speedingThreshold)设置固定限速值,单位:km/h,默认值:0
 
 取值规则:
 0:根据百度地图道路限速数据计算超速点;
 其他数值:以设置的数值为阈值,轨迹点速度超过该值则认为是超速。 | 
| java.lang.String | toString() | 
public ThresholdOption()
public ThresholdOption(double speedingThreshold,
                       double harshAccelerationThreshold,
                       double harshBreakingThreshold,
                       double harshSteeringThreshold)
speedingThreshold - 固定限速值harshAccelerationThreshold - 急加速的加速度阈值harshBreakingThreshold - 急减速的加速度阈值harshSteeringThreshold - 急转弯的向心加速度阈值public double getSpeedingThreshold()
public ThresholdOption setSpeedingThreshold(double speedingThreshold)
取值规则: 0:根据百度地图道路限速数据计算超速点; 其他数值:以设置的数值为阈值,轨迹点速度超过该值则认为是超速。 示例: speedingThreshold=0,以道路限速数据计算; speedingThreshold=80,限速值为80km/h。
speedingThreshold - public double getHarshAccelerationThreshold()
public ThresholdOption setHarshAccelerationThreshold(double harshAccelerationThreshold)
harshAccelerationThreshold - public double getHarshBreakingThreshold()
public ThresholdOption setHarshBreakingThreshold(double harshBreakingThreshold)
harshBreakingThreshold - public double getHarshSteeringThreshold()
public ThresholdOption setHarshSteeringThreshold(double harshSteeringThreshold)
harshSteeringThreshold - public java.lang.String toString()
toString 在类中 java.lang.Object