T_Road_Type

A road type element is valid for the entire cross section of a road. It is valid until a new road type element is provided or until the road ends.

Java class for t_road_type complex type

.

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


<complexType name="t_road_type">
  <complexContent>
    <extension base="{}_OpenDriveElement">
      <sequence>
        <element name="speed" type="{}t_road_type_speed" minOccurs="0"/>
        <group ref="{}g_additionalData" maxOccurs="unbounded" minOccurs="0"/>
      </sequence>
      <attribute name="s" use="required" type="{}t_grEqZero" />
      <attribute name="type" use="required" type="{}e_roadType" />
      <attribute name="country" type="{}e_countryCode" />
    </extension>
  </complexContent>
</complexType>

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun getCountry(): String
Country code of the road, see ISO 3166-1, alpha-2 codes.
Link copied to clipboard
OpenDRIVE offers the possibility to include external data.
Link copied to clipboard
open fun getS(): Double
s-coordinate of start position
Link copied to clipboard
Gets the value of the speed property.
Link copied to clipboard
open fun getType(): E_RoadType
Type of the road defined as enumeration, see UML diagramm
Link copied to clipboard
open fun setCountry(value: String)
Sets the value of the country property.
Link copied to clipboard
open fun setS(value: Double)
Sets the value of the s property.
Link copied to clipboard
open fun setSpeed(value: T_Road_Type_Speed)
Sets the value of the speed property.
Link copied to clipboard
open fun setType(value: E_RoadType)
Sets the value of the type property.