T_Road

In ASAM OpenDRIVE, the road network is represented by elements. Each road runs along one road reference line. A road shall have at least one lane with a width larger than 0. Vehicles may drive in both directions of the reference line. The standard driving direction is defined by the value which is assigned to the @rule attribute (RHT=right-hand traffic, LHT=left-hand traffic). ASAM OpenDRIVE roads may be roads in the real road network or artificial road network created for application use. Each road is described by one or more

Java class for t_road complex type.

The following schema fragment specifies the expected content contained within this class.


<complexType name="t_road">
  <complexContent>
    <extension base="{}_OpenDriveElement">
      <sequence>
        <element name="link" type="{}t_road_link" minOccurs="0"/>
        <element name="type" type="{}t_road_type" maxOccurs="unbounded" minOccurs="0"/>
        <element name="planView" type="{}t_road_planView"/>
        <element name="elevationProfile" type="{}t_road_elevationProfile" minOccurs="0"/>
        <element name="lateralProfile" type="{}t_road_lateralProfile" minOccurs="0"/>
        <element name="lanes" type="{}t_road_lanes"/>
        <element name="objects" type="{}t_road_objects" minOccurs="0"/>
        <element name="signals" type="{}t_road_signals" minOccurs="0"/>
        <element name="surface" type="{}t_road_surface" minOccurs="0"/>
        <element name="railroad" type="{}t_road_railroad" minOccurs="0"/>
        <group ref="{}g_additionalData" maxOccurs="unbounded" minOccurs="0"/>
      </sequence>
      <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="junction" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="length" use="required" type="{}t_grZero" />
      <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="rule" type="{}e_trafficRule" />
    </extension>
  </complexContent>
</complexType>

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Gets the value of the elevationProfile property.
Link copied to clipboard
Gets the value of the gAdditionalData property.
Link copied to clipboard
open fun getId(): String
Gets the value of the id property.
Link copied to clipboard
open fun getJunction(): String
Gets the value of the junction property.
Link copied to clipboard
Gets the value of the lanes property.
Link copied to clipboard
Gets the value of the lateralProfile property.
Link copied to clipboard
open fun getLength(): Double
Gets the value of the length property.
Link copied to clipboard
open fun getLink(): T_Road_Link
Gets the value of the link property.
Link copied to clipboard
open fun getName(): String
Gets the value of the name property.
Link copied to clipboard
Gets the value of the objects property.
Link copied to clipboard
Gets the value of the planView property.
Link copied to clipboard
Gets the value of the railroad property.
Link copied to clipboard
Gets the value of the rule property.
Link copied to clipboard
Gets the value of the signals property.
Link copied to clipboard
Gets the value of the surface property.
Link copied to clipboard
open fun getType(): List<T_Road_Type>
Gets the value of the type property.
Link copied to clipboard
Sets the value of the elevationProfile property.
Link copied to clipboard
open fun setId(value: String)
Sets the value of the id property.
Link copied to clipboard
open fun setJunction(value: String)
Sets the value of the junction property.
Link copied to clipboard
open fun setLanes(value: T_Road_Lanes)
Sets the value of the lanes property.
Link copied to clipboard
Sets the value of the lateralProfile property.
Link copied to clipboard
open fun setLength(value: Double)
Sets the value of the length property.
Link copied to clipboard
open fun setLink(value: T_Road_Link)
Sets the value of the link property.
Link copied to clipboard
open fun setName(value: String)
Sets the value of the name property.
Link copied to clipboard
open fun setObjects(value: T_Road_Objects)
Sets the value of the objects property.
Link copied to clipboard
open fun setPlanView(value: T_Road_PlanView)
Sets the value of the planView property.
Link copied to clipboard
open fun setRailroad(value: T_Road_Railroad)
Sets the value of the railroad property.
Link copied to clipboard
open fun setRule(value: E_TrafficRule)
Sets the value of the rule property.
Link copied to clipboard
open fun setSignals(value: T_Road_Signals)
Sets the value of the signals property.
Link copied to clipboard
open fun setSurface(value: T_Road_Surface)
Sets the value of the surface property.