City Based Parking and Routing System API Documentation

Lane.IsOccupied Method 

Determine if an specified area is occupied by a vehicle.

public bool IsOccupied(
   int position,
   int length
);

Parameters

position
The position at the front of the length to check.
length
The number of positions to evaluate (behind the specified position)

Return Value

True if occupied; Otherwise, false.

Implements

ILane.IsOccupied

See Also

Lane Class | CBPRS.Infrastructure Namespace