City Based Parking and Routing System API Documentation

Road.GetOriginOf Method 

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

public IIntersection GetOriginOf(
   ILane lane
);

Parameters

lane
The Lane for which to retrieve the origin intersection.

Return Value

The Intersection that is the origin of the specified lane.

Implements

IRoad.GetOriginOf

Exceptions

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

See Also

Road Class | CBPRS.Infrastructure Namespace