City Based Parking and Routing System API Documentation

IIntersection.HasRoute Method 

Determines if the intersection has an internal route connecting the two.

bool HasRoute(
   IRoad from,
   IRoad to
);

Parameters

from
The road the vehicle is currently on.
to
The road the vehicle wants to take next.

Return Value

True if there is a route; Otherwise, false.

See Also

IIntersection Interface | CBPRS.Infrastructure Namespace