City Based Parking and Routing System API Documentation

IIntersection.GetRoute Method (ILane, DirectionTypes)

Retrieves a route crossing the intersection for the specified lane and direction.

InternalRoute GetRoute(
   ILane from,
   DirectionTypes direction
);

Parameters

from
The Lane where the vehicle is currently on.
direction
The DirectionTypes that indicates the turn the vehicle wants to make.

Return Value

The internal route for the specfied from and to combination.

Exceptions

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

See Also

IIntersection Interface | CBPRS.Infrastructure Namespace | IIntersection.GetRoute Overload List