City Based Parking and Routing System API Documentation

Road.OppositeOf Method 

Retrieves the opposite intersection of the one specified.

public IIntersection OppositeOf(
   IIntersection intersection
);

Parameters

intersection
The Intersection to retrieve the opposite of.

Return Value

The intersection that is opposite of the intersection.

Implements

IRoad.OppositeOf

Exceptions

Exception Type Condition
ArgumentException Thrown if the specified intersection is not connected to the current road.

See Also

Road Class | CBPRS.Infrastructure Namespace