City Based Parking and Routing System API Documentation

IRoad Members

IRoad overview

Public Instance Properties

Alpha Gets or set the alpha IIntersection of the road.
AlphaLanes Gets the alpha lanes collection for the current road.
AlphaPostion Gets or sets the alpha position of the road.
AlphaSideObjects Gets or sets the collection of side objects for the alpha side of the road.
Beta Gets or set the beta IIntersection of the road.
BetaLanes Gets the beta lanes collection for the current road.
BetaPosition Gets or sets the beta position of the road.
BetaSideObjects Gets or sets the collection of side objects for the beta side of the road.
CenterLine Gets or sets the centerline of the road.
IsOneWay Gets a boolean that indicates if the current road is a one way road.
Lanes Gets the total number of lanes on the road.
Length Gets the length of the road in blocks.
MaxSpeed Gets or sets the maximum allowed speed in blocks.
RoadType Gets or sets the eRoadType.

Public Instance Methods

AddSideObject Adds a side object along side to road.
GetAlphaDirections Gets the collections of directions possible at the next (alpha) intersection.
GetBetaDirections Gets the collections of directions possible at the next (beta) intersection.
GetDestinationOf Gets the destination intersection of a lane.
GetDirectionOfLanesLeadingTo Get possible set of valid direction of the lanes leading to the specified intersection.
GetLanesLeadingFrom Gets the lanes leading from the specified intersection.
GetLanesLeadingTo Gets the lanes leading to the specified intersection.
GetLaneToLeft Gets the lane that is directly to the left of the current lane.
GetLaneToRight Gets the lane that is directly to the right of the current lane.
GetOriginOf Gets the origin intersection of a lane.
GetRoadPositionAt Gets the roads position at the specified intersection.
GetSideObjectAtCell Retrieves the side object at specified cell on the specified side of the road.
IsConnectedTo Determines is the specified intersection is connected to this road.
OppositeOf Gets the opposite intersection of the one specified.
RemoveSideObject Removes a side object along side to road.

See Also

IRoad Interface | CBPRS.Infrastructure Namespace