City Based Parking and Routing System API Documentation

RoadSystem.GetRandomIntersection Method 

Gets a randomly chosen intersection that is not the current.

public IIntersection GetRandomIntersection(
   IIntersection current
);

Parameters

current
The intersection that cannot be randomly chosen.

Return Value

A randomly chosen intersection that is not equal to current.

See Also

RoadSystem Class | CBPRS.Infrastructure Namespace