Skip to content

ISIAPILaneSegmentMC Interface

Namespace: SIDRASolutions.SI.API
Assembly: SIDRASolutions.SI.API.dll COM CLSID: DC8841C8-B63F-4FB9-B26B-F8C032743C3E

Declaration

[Guid("DC8841C8-B63F-4FB9-B26B-F8C032743C3E")]
public interface ISIAPILaneSegmentMC

Get an instance

// Navigate to the ISIAPILaneSegmentMC you need via the ISIAPI tree.
// See ISIAPI for the activation root.
var laneSegmentMC = /* ... */;
' Navigate to the ISIAPILaneSegmentMC you need via the ISIAPI tree.
' See ISIAPI for the activation root.
Dim laneSegmentMC As ISIAPILaneSegmentMC = Nothing
# Navigate to the ISIAPILaneSegmentMC you need via the ISIAPI tree.
# See ISIAPI for the activation root.
laneSegmentMC = ...
# Navigate to the ISIAPILaneSegmentMC you need via the ISIAPI tree.
# See ISIAPI for the activation root.
$laneSegmentMC = $null

Properties

MC_class

Movement Class Number

int MC_class { get; }

Type int

Value

One of:

  • 1 - Light Vehicles
  • 2 - Heavy Vehicles
  • 3 - Buses
  • 4 - Bicycles
  • 5 - Large Trucks
  • 6 - Trams
  • 7 - User Class 1
  • 8 - User Class 2
  • 9 - User Class 3
  • 10 - User Class 4
  • 11 - User Class 5
  • 12 - User Class 6
Code samples
int mC_class = laneSegmentMC.MC_class;
Dim mC_class As Integer = laneSegmentMC.MC_class
mc_class = laneSegmentMC.MC_class
$mC_class = $laneSegmentMC.MC_class

Exists

Flag indicating whether the Movement Class is running on this Lane Segment. This only applies to Approach Lane Segment 2. This value in Approach Lane Segment 1, Exit Lane Segment 1 or 2 is ignored.

bool Exists { get; set; }

Type bool

Code samples
bool exists = laneSegmentMC.Exists;
laneSegmentMC.Exists = true;
Dim exists As Boolean = laneSegmentMC.Exists
laneSegmentMC.Exists = true
exists = laneSegmentMC.Exists
laneSegmentMC.Exists = True
$exists = $laneSegmentMC.Exists
$laneSegmentMC.Exists = $true

Percent_change_to_left

Percent Lane Change to the Left (looking in the direction of departure), only applies to the Exit Lane Segment 1.

float Percent_change_to_left { get; set; }

Type float

Code samples
float percent_change_to_left = laneSegmentMC.Percent_change_to_left;
laneSegmentMC.Percent_change_to_left = 0.0;
Dim percent_change_to_left As Single = laneSegmentMC.Percent_change_to_left
laneSegmentMC.Percent_change_to_left = 0.0
percent_change_to_left = laneSegmentMC.Percent_change_to_left
laneSegmentMC.Percent_change_to_left = 0.0
$percent_change_to_left = $laneSegmentMC.Percent_change_to_left
$laneSegmentMC.Percent_change_to_left = 0.0

Percent_change_to_right

Percent Lane Change to the Right (looking in the direction of departure), only applies to the Exit Lane Segment 1.

float Percent_change_to_right { get; set; }

Type float

Code samples
float percent_change_to_right = laneSegmentMC.Percent_change_to_right;
laneSegmentMC.Percent_change_to_right = 0.0;
Dim percent_change_to_right As Single = laneSegmentMC.Percent_change_to_right
laneSegmentMC.Percent_change_to_right = 0.0
percent_change_to_right = laneSegmentMC.Percent_change_to_right
laneSegmentMC.Percent_change_to_right = 0.0
$percent_change_to_right = $laneSegmentMC.Percent_change_to_right
$laneSegmentMC.Percent_change_to_right = 0.0

LaneSegment

ISIAPILaneSegment LaneSegment { get; }

Type ISIAPILaneSegment

Code samples
var laneSegment = laneSegmentMC.LaneSegment;
Dim laneSegment As ISIAPILaneSegment = laneSegmentMC.LaneSegment
lane_segment = laneSegmentMC.LaneSegment
$laneSegment = $laneSegmentMC.LaneSegment