ISIAPILeg Interface¶
Namespace: SIDRASolutions.SI.API
Assembly: SIDRASolutions.SI.API.dll
COM CLSID: 98300C8A-D0D4-4078-BB07-9CA446AA4D14
Declaration¶
Get an instance¶
Properties¶
Orientation¶
Leg Orientation
Type int
Value
One of:
0- South1- South East2- East3- North East4- North5- North West6- West7- South West
Code samples
Name¶
Type string
Code samples
Approach_distance¶
Type float
Code samples
Exit_distance_user¶
Type bool
Code samples
Exit_distance¶
Type float
Code samples
Extra_bunching_user¶
Type bool
Code samples
Extra_bunching¶
Type float
Code samples
Area_type_factor¶
Area Type Factor, for Legs in Signalised Site only
Type float
Code samples
Approach_control¶
Approach Control Type, for Legs in Sign Controlled Site only
Type int
Value
One of:
1- Major Road2- Giveway3- Stop
Code samples
Is_departure_headway_awsc_applied¶
Type bool
Code samples
LegGeometry¶
Leg Geometry
Type int
Value
One of:
0- No Leg1- Two Way2- One-Way Approach3- One-Way Exit
Remarks
Cannot remove a Leg by setting LegGeometry to 0. Call ISIAPILegs.RemoveLeg() method to remove a Leg.
Code samples
LastErrorMessage¶
Type string
Code samples
Site¶
Type ISIAPISite
Code samples
Leg_roundabout¶
Type ISIAPILeg_roundabout
Code samples
LaneApproachs¶
Type ISIAPILaneApproachs
Code samples
LaneExits¶
Type ISIAPILaneExits
Code samples
Islands¶
Type ISIAPIIslands
Code samples
MovementPedSlipLane_Existing¶
Type ISIAPIMovement_ped
Code samples
Is_uturn_before_intersection¶
Type bool
Code samples
Is_uturn_before_intersection_excluded_from_signal_analysis¶
Type bool
Code samples
Extra_bunching_nw_user¶
Type bool
Code samples
Extra_bunching_nw¶
Type float
Code samples
Approach_start_point¶
Type ISIAPIMapCoordinate
Code samples
Exit_start_point_user¶
Type bool
Code samples
Exit_start_point¶
Type ISIAPIMapCoordinate
Code samples
Approach_end_point¶
Type ISIAPIMapCoordinate
Code samples
Exit_end_point_user¶
Type bool
Code samples
Exit_end_point¶
Type ISIAPIMapCoordinate
Code samples
PedMainCrossingVolumeOption¶
Pedestrian Volume Data Option for Main Crossing (Full and Staged)
Type int
Value
One of:
0- Overall Value for Full and Staged Crossings (All Stages)1- Separate Value for Full and Staged Crossings
The default is 0.
Remarks
When this Option is set to 0 (Overall Value), the overall pedestrian volume data (Volume, Peak Flow Factor, Flow Scale and Growth Rate) in the ISIAPILeg object are applied for the Pedestrian Full and Staged Crossing Movements. The volume data in the corresponding ISIAPIMovement_ped objects are ignored.
When this Option is set to 1 (Separate Value), the volume data in the corresponding ISIAPIMovement_ped objects are applied.
This option does not affect the volume data of Slip/Bypass Lane Crossing. The volume data in the corresponding ISIAPIMovement_ped object for the Slip/Bypass Lane Crossing are applied.
This option does not affect the Pedestrian Movement Data (e.g. Exists or not, Crossing Distance, Opposing Pedestrian Factor, Walking Speed, etc.). These data in the corresponding ISIAPIMovement_ped object are applied.
Code samples
PedMainCrossingVolume¶
Type float
Code samples
PedMainCrossingPeakFlowFactor¶
Type float
Code samples
PedMainCrossingFlowScale¶
Type float
Code samples
PedMainCrossingGrowthRate¶
Type float
Code samples
Methods¶
InsertApproachLane(int)¶
Insert an new Approach Lane to the Leg at the specified position. The Approach Lane is created automatically.
Parameters
| Name | Type | Description |
|---|---|---|
positionOnLeg |
int |
Postion on the Leg, a one-based integer, counts Approach Lanes, Exit Lanes and Islands from left to right looking to the centre of the Intersection. |
Returns ISIAPILaneApproach - The new Approach Lane
Code samples
InsertExitLane(int)¶
Insert an new Exit Lane to the Leg at the specified position. The Exit Lane is created automatically.
Parameters
| Name | Type | Description |
|---|---|---|
positionOnLeg |
int |
Postion on the Leg, a one-based integer, counts Approach Lanes, Exit Lanes and Islands from left to right looking to the centre of the Intersection. |
Returns ISIAPILaneExit - The new Exit Lane
Code samples
InsertIsland(int)¶
Insert an new Island to the Leg at the specified position. The Island is created automatically.
Parameters
| Name | Type | Description |
|---|---|---|
positionOnLeg |
int |
Postion on the Leg, a one-based integer, counts Approach Lanes, Exit Lanes and Islands from left to right looking to the centre of the Intersection. |
Returns ISIAPIIsland - The new Island
Code samples
InsertIsland_RoundaboutSplitter(int)¶
Insert an new Roundabout Splitter Island to the Leg at the specified position. The Island is created automatically.
Parameters
| Name | Type | Description |
|---|---|---|
positionOnLeg |
int |
Postion on the Leg, a one-based integer, counts Approach Lanes, Exit Lanes and Islands from left to right looking to the centre of the Intersection. |
Returns ISIAPIIsland - The new Roundabout Splitter Island
Code samples
RemoveItem(int)¶
Remove the item at the specified position on the Leg. The item could be an Approach Lane, Exit Lane or Island.
Parameters
| Name | Type | Description |
|---|---|---|
positionOnLeg |
int |
Postion on the Leg, a one-based integer, counts Approach Lanes, Exit Lanes and Islands from left to right looking to the centre of the Intersection. |
Returns bool - true if the item is successfully removed. This method returns false if the item does not exist in this Leg.