City Based Parking and Routing System API Documentation

Road.GetLaneToLeft Method 

Gets the lane that is left of the current lane on the same direction.

public ILane GetLaneToLeft(
   ILane current,
   int position
);

Parameters

current
A Lane object.
position
The position in blocks at which to find a left lane.

Return Value

A Lane that lies to left if present; Otherwise, null.

Implements

IRoad.GetLaneToLeft

Exceptions

Exception Type Condition
ArgumentException Thrown if the specified lane does not belong to the current road.

See Also

Road Class | CBPRS.Infrastructure Namespace