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="country" type="{}e_countryCode" />
      <attribute name="s" use="required" type="{}t_grEqZero" />
      <attribute name="type" use="required" type="{}e_roadType" />
    </extension>
  </complexContent>
</complexType>

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun getCountry(): String
Gets the value of the country property.
Link copied to clipboard
Gets the value of the gAdditionalData property.
Link copied to clipboard
open fun getS(): Double
Gets the value of the s property.
Link copied to clipboard
Gets the value of the speed property.
Link copied to clipboard
open fun getType(): E_RoadType
Gets the value of the type property.
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.