com.visioglobe.libVisioDevKit
Class VgModalityParameterType

java.lang.Object
  extended by com.visioglobe.libVisioDevKit.VgModalityParameterType

public final class VgModalityParameterType
extends java.lang.Object

An enum which contains various attributes which can be configured for a particular modality.


Field Summary
static VgModalityParameterType eDistanceFromCouloirThreshold
          The perpendicular distance threshold in meters from the active instruction, before a new instruction will be considered.
static VgModalityParameterType eMinimumInstructionLength
          Minimum length of instructions in meters.
static VgModalityParameterType eNearPlacesThreshold
          Threshold in meters to determine the places near turns for navigation instructions.
static VgModalityParameterType eNumParameters
          This must be kept last in the enum.
static VgModalityParameterType eStraightAngleThreshold
          Threshold angle in degrees that determines how a VgIRoute will be broken into different instructions.
 
Method Summary
static VgModalityParameterType swigToEnum(int swigValue)
           
 int swigValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

eStraightAngleThreshold

public static final VgModalityParameterType eStraightAngleThreshold
Threshold angle in degrees that determines how a VgIRoute will be broken into different instructions. Default value is 7.0 degrees. The larger this value is, the longer the instructions will be and the fewer instructions there will be.


eDistanceFromCouloirThreshold

public static final VgModalityParameterType eDistanceFromCouloirThreshold
The perpendicular distance threshold in meters from the active instruction, before a new instruction will be considered. Default value 2.0 meters

Remark:
Larger values mean longer instructions and fewer total number of instructions.

eNearPlacesThreshold

public static final VgModalityParameterType eNearPlacesThreshold
Threshold in meters to determine the places near turns for navigation instructions. default value 20.0 meters. Larger values mean more near places will be computed.

Remark:
Very large values can have a negative impact on the performance.

eMinimumInstructionLength

public static final VgModalityParameterType eMinimumInstructionLength
Minimum length of instructions in meters. Default value 0.0 meters. If possible, instructions with lengths smaller than this value will not be generated. Useful for avoiding small instructions at the beginning of a route.


eNumParameters

public static final VgModalityParameterType eNumParameters
This must be kept last in the enum. Counts the values.

Method Detail

swigValue

public final int swigValue()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

swigToEnum

public static VgModalityParameterType swigToEnum(int swigValue)

VisioDevKit 2.0, Visioglobe® 2013