City Based Parking and Routing System API Documentation

Intersection.GetConnectedLanesNrOf Method 

Gets the number of lanes connected to the intersection.

protected int GetConnectedLanesNrOf(
   IRoad road,
   bool inbound
);

Parameters

road
The road for which to retrieve the number of lanes connected.
inbound
True if the number of inbound lanes should be returned; False if the outbound lanes should be returned.

Return Value

The number of lanes connected to the intersection for the specified road and inbound type.

See Also

Intersection Class | CBPRS.Infrastructure Namespace