City Based Parking and Routing System API Documentation

Road.GetOffset Method 

Calculates the offset of the outer line of a road at its intersection starting/ending point.

public float GetOffset(
   PNode node,
   RoadPosition position,
   bool IsOutgoing
);

Parameters

node
The node for which to calculate the offset
position
The position at which the road is connected.
IsOutgoing
Boolean indicating if the road is incoming or outgoing on the intersection.

Return Value

The offset.

Remarks

Since we use left offset - side are on out going

See Also

Road Class | CBPRS.Infrastructure Namespace