INetworkGlobalTurnDelayEvaluator Interface

Provides access to the global turn delay evaluator.

Description

Members

Name Description
Read-only property CustomPrimaryRoadCategoryMaxValue Custom Primary road category maximum value.
Read-only property CustomSecondaryRoadCategoryMaxValue Custom Secondary road category maximum value.
Read/write property DefaultSeconds Default traversal time in seconds (for undefined turn delay categories).
Read/write property MaxReverseTurnDeflectionAngle The maximum deviation from a pure reverse turn to be classified as a reverse turn.
Read/write property MaxStraightTurnDeflectionAngle The maximum deviation from a pure straight turn to be classified as a straight turn.
Method SetCustomRoadCategoryMaxValues Set custom road category maximum values.
Read/write property TurnDelayCategories Array of global turn delay categories in this evaluator.
Read/write property UseCustomRoadCategoryRanges Indicates whether to use custom road category ranges.

INetworkGlobalTurnDelayEvaluator.CustomPrimaryRoadCategoryMaxValue Property

Custom Primary road category maximum value.

Public ReadOnly Property CustomPrimaryRoadCategoryMaxValue As Integer
public int CustomPrimaryRoadCategoryMaxValue {get;}

Remarks

The CustomPrimaryRoadCategoryMaxValue determines whether a road is classified as a primary road. If the AttributeValue of the HierarchyClusterAttribute is less than or equal to the CustomPrimaryRoadCategoryMaxValue, then it is a primary road.

Note that this property only takes effect if the UseCustomRoadCategoryRanges property is set to True. Otherwise, the level 1 value of MaxValueForHierarchy will be used instead.

The CustomPrimaryRoadCategoryMaxValue and CustomSecondaryRoadCategoryMaxValue are set by calling SetCustomRoadCategoryMaxValues.

INetworkGlobalTurnDelayEvaluator.CustomSecondaryRoadCategoryMaxValue Property

Custom Secondary road category maximum value.

Public ReadOnly Property CustomSecondaryRoadCategoryMaxValue As Integer
public int CustomSecondaryRoadCategoryMaxValue {get;}

Remarks

The CustomSecondaryRoadCategoryMaxValue determines whether a road is classified as a local road. If the AttributeValue of the HierarchyClusterAttribute is greater than the CustomSecondaryRoadCategoryMaxValue, then it is a local road.

Note that this property only takes effect if the UseCustomRoadCategoryRanges property is set to True. Otherwise, the level 2 value of MaxValueForHierarchy will be used instead.

The CustomPrimaryRoadCategoryMaxValue and CustomSecondaryRoadCategoryMaxValue are set by calling SetCustomRoadCategoryMaxValues.

INetworkGlobalTurnDelayEvaluator.DefaultSeconds Property

Default traversal time in seconds (for undefined turn delay categories).

Public Property DefaultSeconds As Double
public double DefaultSeconds {get; set;}

Remarks

DefaultSeconds is the travel time, in seconds, assigned to a turn that does not fall into any of the classifications defined in the TurnDelayCategories.

INetworkGlobalTurnDelayEvaluator.MaxReverseTurnDeflectionAngle Property

The maximum deviation from a pure reverse turn to be classified as a reverse turn.

Public Property MaxReverseTurnDeflectionAngle As Integer
public int MaxReverseTurnDeflectionAngle {get; set;}

Remarks

The MaxReverseTurnDeflectionAngle determines whether a NetworkTurnElement is considered going in reverse, based on its Angle.

For example, if the MaxReverseTurnDeflectionAngle is set to 30, then a turn is considered going in reverse if its Angle is within 30 degrees of 180 degrees (going exactly in reverse) -- that is, if the angle is between 150 and 210 degrees, inclusive.

INetworkGlobalTurnDelayEvaluator.MaxStraightTurnDeflectionAngle Property

The maximum deviation from a pure straight turn to be classified as a straight turn.

Public Property MaxStraightTurnDeflectionAngle As Integer
public int MaxStraightTurnDeflectionAngle {get; set;}

Remarks

The MaxStraightTurnDeflectionAngle determines whether a NetworkTurnElement is considered going straight, based on its Angle.

For example, if the MaxStraightTurnDeflectionAngle is set to 45, then a turn is considered going straight if its Angle is within 45 degrees of either 0 or 360 degrees (going perfectly straight) -- that is, if the angle is between 0 and 45 degrees or between 315 and 360 degrees, inclusive.

INetworkGlobalTurnDelayEvaluator.SetCustomRoadCategoryMaxValues Method

Set custom road category maximum values.

Public Sub SetCustomRoadCategoryMaxValues ( _
    ByVal maxPrimaryRoadValue As Integer, _
    ByVal maxSecondaryRoadValue As Integer _
)
public void SetCustomRoadCategoryMaxValues (
    int maxPrimaryRoadValue,
    int maxSecondaryRoadValue
);

Remarks

Use the SetCustomRoadCategoryMaxValues method to simultaneously set both the the CustomPrimaryRoadCategoryMaxValue and CustomSecondaryRoadCategoryMaxValue property values.

INetworkGlobalTurnDelayEvaluator.TurnDelayCategories Property

Array of global turn delay categories in this evaluator.

Public Property TurnDelayCategories As IArray
public IArray TurnDelayCategories {get; set;}

Remarks

The TurnDelayCategories is an array of NetworkGlobalTurnDelayCategory objects that define the classification of turn types for this evaluator. Each category is defined by the turning angle, the road category for the starting and finishing road of the turn, and the road category for any other crossroads at that intersection. For each category, a travel time, measured in seconds, is specified.

INetworkGlobalTurnDelayEvaluator.UseCustomRoadCategoryRanges Property

Indicates whether to use custom road category ranges.

Public Property UseCustomRoadCategoryRanges As Boolean
public bool UseCustomRoadCategoryRanges {get; set;}

Remarks

The UseCustomRoadCategoryRanges property specifies whether to use the custom road category maximum values specified on this evaluator. If set to True, then the CustomPrimaryRoadCategoryMaxValue and CustomSecondaryRoadCategoryMaxValue properties will be used to determine whether a given road is a primary, secondary, or local road. If set to False, then the MaxValueForHierarchy values on the DENetworkDataset will be used to determine the road classification.

Classes that implement INetworkGlobalTurnDelayEvaluator

Classes Description
NetworkGlobalTurnDelayEvaluator A container for describing a network attribute evaluator for global turn delay whose values are specified by global turn delay settings.

Remarks

The INetworkGlobalTurnDelayEvaluator interface accesses the settings used by aobject for calculating the attribute value for a network element.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.