Skip to content

ISIAPIMovement_peds Interface

Namespace: SIDRASolutions.SI.API
Assembly: SIDRASolutions.SI.API.dll COM CLSID: E5AB577B-30AF-4B51-8EED-33D34974A2A7

Declaration

[Guid("E5AB577B-30AF-4B51-8EED-33D34974A2A7")]
public interface ISIAPIMovement_peds

Get an instance

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

Properties

Count

int Count { get; }

Type int

Code samples
int count = movement_peds.Count;
Dim count As Integer = movement_peds.Count
count = movement_peds.Count
$count = $movement_peds.Count

this[]

Get a Pedestrian Movement.

ISIAPIMovement_ped this[] { get; }

Type ISIAPIMovement_ped - Return a Pedestrian Movement if it exists in the data storage; otherwise, null/Nothing.

Code samples
var this[] = movement_peds.this[];
Dim this[] As ISIAPIMovement_ped = movement_peds.this[]
this[] = movement_peds.this[]
$this[] = $movement_peds.this[]

Methods

MovementExists(int, int, int)

Get a value indicating whether a Pedestrian Movement exists in the data storage.

bool MovementExists(int type, int origin, int stage)

Parameters

Name Type Description
type int One of: - 1 - Full Crossing - 2 - Slip Lane - 3 - Staged - 4 - Diagonal
origin int One of: - 0 - South - 1 - South East - 2 - East - 3 - North East - 4 - North - 5 - North West - 6 - West - 7 - South West
stage int One of: - 1 - Stage 1 (Approach-side crossing) - 2 - Stage 2 (Exit-side crossing)

Returns bool - true if it exists in the data storage; otherwise, false

Code samples
bool result = movement_peds.MovementExists(0, 0, 0);
Dim result As Boolean = movement_peds.MovementExists(0, 0, 0)
result = movement_peds.MovementExists(0, 0, 0)
$result = $movement_peds.MovementExists(0, 0, 0)