getLateralLaneOffset

Returns the lateral offset function located on a lane with laneId.

Parameters

laneId

id of requested lane

factor

if the factor is 0.0 the inner lane boundary is returned. If the factor is 1.0 the outer lane boundary is returned. An offset function within the middle of the lane is achieved by a factor of 0.5.