LaneApproachs¶
Type ISIAPILaneApproachs · Interface
Namespace SIDRASolutions.SI.API
Assembly SIDRASolutions.SI.API.dll
COM CLSID 7C5E3DE3-C295-478D-9061-88583D18826F
Declaration¶
Members¶
Properties
| Property | Type | Summary |
|---|---|---|
| Count | int |
|
| this[] | ISIAPILaneApproach |
Methods
| Method | Returns | Summary |
|---|---|---|
| LaneApproachExists(int) | bool |
|
| AddLane() | ISIAPILaneApproach |
Add an Approach Lane If the Leg has Approach Lane(s), if driving-on-left, the rightmost Approach Lane is cloned. The cloned Lane is added to the right. If driving-on-right, the leftmost Approach Lane is cloned. The cloned Lane is added to the left. If the Leg does not have any Approach Lane, a new default Approach Lane is added. |
| RemoveLane() | void |
Remove an Approach Lane If driving-on-left, the rightmost Approach Lane is removed. If driving-on-right, the leftmost Approach Lane is removed. |
Properties¶
Count¶
Type int
Code samples
this[]¶
Type ISIAPILaneApproach
Code samples
Methods¶
LaneApproachExists(int)¶
Parameters
| Name | Type | Description |
|---|---|---|
laneno |
int |
Approach Lane Number, a one-based integer, counts Approach Lanes only from left to right looking in the direction of departure. |
Returns bool
Code samples
AddLane()¶
Add an Approach Lane
If the Leg has Approach Lane(s), if driving-on-left, the rightmost Approach Lane is cloned. The cloned Lane is added to the right.
If driving-on-right, the leftmost Approach Lane is cloned. The cloned Lane is added to the left.
If the Leg does not have any Approach Lane, a new default Approach Lane is added.
Returns ISIAPILaneApproach - The new added Approach Lane
Remarks
Call SIAPISite.ResetLaneMovements() manually after adding / removing Lanes. If Leg(s) has been added or removed, call SIAPISite.UpdateGeometryData() instead of ResetLaneMovements().
Code samples
RemoveLane()¶
Remove an Approach Lane
If driving-on-left, the rightmost Approach Lane is removed. If driving-on-right, the leftmost Approach Lane is removed.
Remarks
Call SIAPISite.ResetLaneMovements() manually after adding / removing Lanes. If Leg(s) has been added or removed, call SIAPISite.UpdateGeometryData() instead of ResetLaneMovements().