LaneSection
data class LaneSection(val id: LaneSectionIdentifier, val curvePositionDomain: Range<Double>, val lanes: Map<Int, Lane>, val centerLane: CenterLane)
Represents the section of a road in which the number of lanes and their attributes do not change.
Parameters
id
identifier of the lane section
curvePositionDomain
domain of the curve position of this lane section in comparison of the road
lanes
lanes collection whereby the lane id is used as the map's key
centerLane
center lane of the lane section, which has no width
Constructors
Link copied to clipboard
constructor(id: LaneSectionIdentifier, curvePositionDomain: Range<Double>, lanes: List<Lane>, centerLane: CenterLane)
constructor(id: LaneSectionIdentifier, curvePositionDomain: Range<Double>, lanes: Map<Int, Lane>, centerLane: CenterLane)
Properties
Functions
Link copied to clipboard
Returns the complete range of lane identifiers contained in this lane section.
Link copied to clipboard
Link copied to clipboard
fun getLaneHeightOffset(laneIdentifier: LaneIdentifier, factor: Double): Either<IllegalArgumentException, UnivariateFunction>
Returns the height offset function located on lane with laneIdentifier.
Link copied to clipboard
Returns the lateral offset function located on a lane with laneId.