City Based Parking and Routing System API Documentation

Road.GetDestinationOf Method 

Gets the intersection that is the destination of a specified lane.

public IIntersection GetDestinationOf(
   ILane lane
);

Parameters

lane
The Lane for which to retrieve the destination intersection.

Return Value

The Intersection that is the destination of the specified lane.

Implements

IRoad.GetDestinationOf

Exceptions

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

See Also

Road Class | CBPRS.Infrastructure Namespace