City Based Parking and Routing System API Documentation

Intersection.GetRoute Method (ILane, ILane)

Retrieves a route crossing the intersection for the specified lanes.

public InternalRoute GetRoute(
   ILane from,
   ILane to
);

Parameters

from
The Lane where the vehicle is currently on.
to
The Lane where the vehicle wants to be after crossing the intersection.

Return Value

The internal route for the specfied from and to combination.

Implements

IIntersection.GetRoute

Exceptions

Exception Type Condition
ArgumentException Thrown if the specified from and to combination is not valid for this intersection.

See Also

Intersection Class | CBPRS.Infrastructure Namespace | Intersection.GetRoute Overload List