Click or drag to resize

NavigatorSetDeviationThreshold Method

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Sets the distance threshold from which the navigator may deviate (for a maximum of DeviationGraceTime or UnalignedDeviationGraceTime) from the route before the navigator is rerouted.

Namespace:  Telogis.GeoBase.Navigation
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public void SetDeviationThreshold(
	DistanceUnit unit,
	double unalignedAmount,
	double alignedAmount
)

Parameters

unit
Type: Telogis.GeoBaseDistanceUnit
The units in which amount is measured.
unalignedAmount
Type: SystemDouble
The desired distance deviation threshold when the vehicle is travelling in the opposite direction to the route or off route. The navigator is unaligned if the heading deviates by more than 45 degrees from the route's direction.
alignedAmount
Type: SystemDouble
The desired distance deviation threshold when the navigator is travelling in the same direction as the route. The navigator is aligned if the heading deviates by less than 45 degrees from the route's direction.
Remarks
Unaligned and aligned thresholds both default to 30 meters. For example, use a larger alignedAmount if the vehicle is likely to pull up at highway stops that are located more than 30 meters away from the highway, but into the direction of travel. Use a smaller unalignedAmount if you wish routes to be recalculated as soon as the vehicle makes a u-turn.
See Also