Interface IIntersectionTrafficCode
Contract to define the deceleration of an entity when crossing an intersection.
Namespace: SOHDomain.Steering.Handles.Intersection
Assembly: SOHDomain.dll
Syntax
public interface IIntersectionTrafficCode
Methods
| Improve this Doc View SourceEvaluate(EdgeExploreResult, DirectionType)
Evaluates the deceleration that is required to handle the intersection.
Declaration
double Evaluate(EdgeExploreResult edgeExploreResult, DirectionType vehicleDirection)
Parameters
Type | Name | Description |
---|---|---|
EdgeExploreResult | edgeExploreResult | contains information about the intersection. |
DirectionType | vehicleDirection | indicates the turning angle. |
Returns
Type | Description |
---|---|
System.Double | The required biggest deceleration. |