City Based Parking and Routing System API Documentation

Intersection.GetRoute Method (ILane, DirectionTypes)

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

public 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.

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