City Based Parking and Routing System API Documentation

ILane.GetVehicleInFrontOf Method 

Gets the vehicle in front of the specified position.

IVehicle GetVehicleInFrontOf(
   int position
);

Parameters

position
The position at which to start the search.

Return Value

A IVehicle object if one is in front of the specified position; Otherwise, null.

See Also

ILane Interface | CBPRS.Infrastructure Namespace