City Based Parking and Routing System API Documentation

IIntersection.IsHeadedFor Method 

Gets the RoadPosition of the road where headed to based on the specified current position and the disered turn direction

RoadPosition IsHeadedFor(
   RoadPosition position,
   DirectionTypes direction
);

Parameters

position
The RoadPosition of the road where are currently on.
direction
The DirectionTypes we want to head to.

Return Value

The RoadPosition of the road where headed to.

Exceptions

Exception Type Condition
ArgumentException Thrown if the direction is ambiguous.

See Also

IIntersection Interface | CBPRS.Infrastructure Namespace