City Based Parking and Routing System API Documentation

Lane.GetVehicleInFrontOf Method 

Retrieves the first vehicle at or in front of the specified position.

public IVehicle GetVehicleInFrontOf(
   int position
);

Parameters

position
The position which the vehicle should be in front off.

Return Value

Linked list node containing the vehicle if one is present; Otherwise null.

Implements

ILane.GetVehicleInFrontOf

See Also

Lane Class | CBPRS.Infrastructure Namespace