Struct RoutingConfiguration
Object that holds common parameters that affect routing.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Elements.Spatial.AdaptiveGrid
Assembly: Hypar.Elements.dll
Syntax
public struct RoutingConfiguration
Constructors
RoutingConfiguration(Double, List<Double>)
Construct new RoutingConfiguration structure.
Declaration
public RoutingConfiguration(double turnCost = 0, List<double> supportedAngles = null)
Parameters
Type | Name | Description |
---|---|---|
System.Double | turnCost | Travel cost penalty if route changes it's direction. |
System.Collections.Generic.List<System.Double> | supportedAngles | List of angles route can turn. |
Fields
SupportedAngles
List of angles route can turn. Angles are between 0 and 90. 0 is auto-included. For turn angle bigger than 90 degrees - 180 degrees minus angle is checked. For example, 135 is the same as 45.
Declaration
public readonly List<double> SupportedAngles
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Double> |
TurnCost
Travel cost penalty if route changes it's direction.
Declaration
public readonly double TurnCost
Field Value
Type | Description |
---|---|
System.Double |