City Based Parking and Routing System API Documentation

Road.LaneOffset Method 

Calculates the offset position of a driving lane on the basis of the center lane.

protected PointF LaneOffset(
   PointF point,
   RoadPosition position,
   bool right,
   int laneId
);

Parameters

point
The offset point
position
The position at which the road is connected to the intersections.
right
Is this road on the right side of the road.
laneId
The lane id number.

Return Value

A 2D PointF structure containg the X and Y offset.

See Also

Road Class | CBPRS.Infrastructure Namespace