Road

data class Road(var link: Option<RoadLink> = None, var type: List<RoadType> = emptyList(), var planView: RoadPlanView = RoadPlanView(), var elevationProfile: Option<RoadElevationProfile> = None, var lateralProfile: Option<RoadLateralProfile> = None, var lanes: RoadLanes = RoadLanes(), var objects: Option<RoadObjects> = None, var signals: Option<RoadSignals> = None, var surface: Option<RoadSurface> = None, var railroad: Option<RoadRailroad> = None, var id: String = "", var junction: String = "", var length: Double = Double.NaN, var name: Option<String> = None, var rule: Option<ETrafficRule> = None, var additionalId: Option<RoadIdentifier> = None) : OpendriveElement, AdditionalRoadIdentifier

Constructors

Link copied to clipboard
constructor(link: Option<RoadLink> = None, type: List<RoadType> = emptyList(), planView: RoadPlanView = RoadPlanView(), elevationProfile: Option<RoadElevationProfile> = None, lateralProfile: Option<RoadLateralProfile> = None, lanes: RoadLanes = RoadLanes(), objects: Option<RoadObjects> = None, signals: Option<RoadSignals> = None, surface: Option<RoadSurface> = None, railroad: Option<RoadRailroad> = None, id: String = "", junction: String = "", length: Double = Double.NaN, name: Option<String> = None, rule: Option<ETrafficRule> = None, additionalId: Option<RoadIdentifier> = None)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override var additionalId: Option<RoadIdentifier>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var link: Option<RoadLink>
Link copied to clipboard
var name: Option<String>
Link copied to clipboard
var objects: Option<RoadObjects>
Link copied to clipboard
Link copied to clipboard
var railroad: Option<RoadRailroad>
Link copied to clipboard
var rule: Option<ETrafficRule>
Link copied to clipboard
var signals: Option<RoadSignals>
Link copied to clipboard
var surface: Option<RoadSurface>
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun getJunctionOption(): Option<String>
Link copied to clipboard
fun getShapeEntries(): Option<NonEmptyList<RoadLateralProfileShape>>
Link copied to clipboard