1
- using System ;
1
+ using System ;
2
2
using System . Collections . Generic ;
3
3
using System . Linq ;
4
4
using System . Text ;
@@ -14,14 +14,23 @@ public interface IJunctionRestrictionsManager {
14
14
/// <returns><code>true</code> if u-turns may be customized, <code>false</code> otherwise</returns>
15
15
bool IsUturnAllowedConfigurable ( ushort segmentId , bool startNode , ref NetNode node ) ;
16
16
17
- /// <summary>
18
- /// Determines if lane changing behavior may be controlled at the given segment end.
17
+ /// <summary>
18
+ /// Determines if turn-on-red behavior may be controlled at the given segment end.
19
19
/// </summary>
20
20
/// <param name="segmentId">segment id</param>
21
21
/// <param name="startNode">at start node?</param>
22
22
/// <param name="node">node data</param>
23
- /// <returns><code>true</code> if lane changing may be customized, <code>false</code> otherwise</returns>
24
- bool IsLaneChangingAllowedWhenGoingStraightConfigurable ( ushort segmentId , bool startNode , ref NetNode node ) ;
23
+ /// <returns><code>true</code> if turn-on-red may be customized, <code>false</code> otherwise</returns>
24
+ bool IsTurnOnRedAllowedConfigurable ( ushort segmentId , bool startNode , ref NetNode node ) ;
25
+
26
+ /// <summary>
27
+ /// Determines if lane changing behavior may be controlled at the given segment end.
28
+ /// </summary>
29
+ /// <param name="segmentId">segment id</param>
30
+ /// <param name="startNode">at start node?</param>
31
+ /// <param name="node">node data</param>
32
+ /// <returns><code>true</code> if lane changing may be customized, <code>false</code> otherwise</returns>
33
+ bool IsLaneChangingAllowedWhenGoingStraightConfigurable ( ushort segmentId , bool startNode , ref NetNode node ) ;
25
34
26
35
/// <summary>
27
36
/// Determines if entering blocked junctions may be controlled at the given segment end.
@@ -50,14 +59,23 @@ public interface IJunctionRestrictionsManager {
50
59
/// <returns><code>true</code> if u-turns are allowed by default, <code>false</code> otherwise</returns>
51
60
bool GetDefaultUturnAllowed ( ushort segmentId , bool startNode , ref NetNode node ) ;
52
61
53
- /// <summary>
54
- /// Determines the default setting for straight lane changes at the given segment end.
55
- /// </summary>
56
- /// <param name="segmentId">segment id</param>
57
- /// <param name="startNode">at start node?</param>
58
- /// <param name="node">node data</param>
59
- /// <returns><code>true</code> if straight lane changes are allowed by default, <code>false</code> otherwise</returns>
60
- bool GetDefaultLaneChangingAllowedWhenGoingStraight ( ushort segmentId , bool startNode , ref NetNode node ) ;
62
+ /// <summary>
63
+ /// Determines the default setting for turn-on-red at the given segment end.
64
+ /// </summary>
65
+ /// <param name="segmentId">segment id</param>
66
+ /// <param name="startNode">at start node?</param>
67
+ /// <param name="node">node data</param>
68
+ /// <returns><code>true</code> if turn-on-red is allowed by default, <code>false</code> otherwise</returns>
69
+ bool GetDefaultTurnOnRedAllowed ( ushort segmentId , bool startNode , ref NetNode node ) ;
70
+
71
+ /// <summary>
72
+ /// Determines the default setting for straight lane changes at the given segment end.
73
+ /// </summary>
74
+ /// <param name="segmentId">segment id</param>
75
+ /// <param name="startNode">at start node?</param>
76
+ /// <param name="node">node data</param>
77
+ /// <returns><code>true</code> if straight lane changes are allowed by default, <code>false</code> otherwise</returns>
78
+ bool GetDefaultLaneChangingAllowedWhenGoingStraight ( ushort segmentId , bool startNode , ref NetNode node ) ;
61
79
62
80
/// <summary>
63
81
/// Determines the default setting for entering a blocked junction at the given segment end.
0 commit comments