City Based Parking and Routing System API Documentation

Road.GetLaneToRight Method 

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

public ILane GetLaneToRight(
   ILane current,
   int position
);

Parameters

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

Return Value

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

Implements

IRoad.GetLaneToRight

Exceptions

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

See Also

Road Class | CBPRS.Infrastructure Namespace