T_Road_Signals_Signal

Used to provide information about signals along a road. Consists of a main element and an optional lane validity element. The element for a signal is .

Java class for t_road_signals_signal complex type

.

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


<complexType name="t_road_signals_signal">
  <complexContent>
    <extension base="{}_OpenDriveElement">
      <sequence>
        <element name="validity" type="{}t_road_objects_object_laneValidity" maxOccurs="unbounded" minOccurs="0"/>
        <element name="dependency" type="{}t_road_signals_signal_dependency" maxOccurs="unbounded" minOccurs="0"/>
        <element name="reference" type="{}t_road_signals_signal_reference" maxOccurs="unbounded" minOccurs="0"/>
        <choice minOccurs="0">
          <element name="positionInertial" type="{}t_road_signals_signal_positionInertial"/>
          <element name="positionRoad" type="{}t_road_signals_signal_positionRoad"/>
        </choice>
        <group ref="{}g_additionalData" maxOccurs="unbounded" minOccurs="0"/>
      </sequence>
      <attribute name="country" type="{}e_countryCode" />
      <attribute name="countryRevision" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="dynamic" use="required" type="{}t_yesNo" />
      <attribute name="height" type="{}t_grEqZero" />
      <attribute name="hOffset" type="{http://www.w3.org/2001/XMLSchema}double" />
      <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="orientation" use="required" type="{}e_orientation" />
      <attribute name="pitch" type="{http://www.w3.org/2001/XMLSchema}double" />
      <attribute name="roll" type="{http://www.w3.org/2001/XMLSchema}double" />
      <attribute name="s" use="required" type="{}t_grEqZero" />
      <attribute name="subtype" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="t" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
      <attribute name="text" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="unit" type="{}e_unit" />
      <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}double" />
      <attribute name="width" type="{}t_grEqZero" />
      <attribute name="zOffset" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
    </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
Defines the year of the applied traffic rules
Link copied to clipboard
Gets the value of the dependency property.
Link copied to clipboard
open fun getDynamic(): T_YesNo
Indicates whether the signal is dynamic or static.
Link copied to clipboard
ASAM OpenDRIVE offers the possibility to include external data.
Link copied to clipboard
open fun getHeight(): Double
Height of the signal, measured from bottom edge of the signal
Link copied to clipboard
open fun getHOffset(): Double
Heading offset of the signal (relative to @orientation, if orientation is equal to “+” or “-“) Heading offset of the signal (relative to reference line, if orientation is equal to “none” )
Link copied to clipboard
open fun getId(): String
Unique ID of the signal within the OpenDRIVE file
Link copied to clipboard
open fun getName(): String
Name of the signal.
Link copied to clipboard
"+" = valid in positive s- direction "-" = valid in negative s- direction "none" = valid in both directions
Link copied to clipboard
open fun getPitch(): Double
Pitch angle of the signal, relative to the inertial system (xy-plane)
Link copied to clipboard
Gets the value of the positionInertial property.
Link copied to clipboard
Gets the value of the positionRoad property.
Link copied to clipboard
Gets the value of the reference property.
Link copied to clipboard
open fun getRoll(): Double
Roll angle of the signal after applying pitch, relative to the inertial system (x’’y’’-plane)
Link copied to clipboard
open fun getS(): Double
s-coordinate
Link copied to clipboard
open fun getSubtype(): String
Subtype identifier according to country code or "-1" / "none"
Link copied to clipboard
open fun getT(): Double
t-coordinate
Link copied to clipboard
open fun getText(): String
Additional text associated with the signal, for example, text on city limit "City\nBadAibling"
Link copied to clipboard
open fun getType(): String
Type identifier according to country code or "-1" / "none".
Link copied to clipboard
open fun getUnit(): String
Unit of @value
Link copied to clipboard
Gets the value of the validity property.
Link copied to clipboard
open fun getValue(): Double
Value of the signal, if value is given, unit is mandatory
Link copied to clipboard
open fun getWidth(): Double
Width of the signal
Link copied to clipboard
open fun getZOffset(): Double
z offset from the road to bottom edge of the signal.
Link copied to clipboard
open fun setCountry(value: String)
Sets the value of the country property.
Link copied to clipboard
open fun setCountryRevision(value: String)
Sets the value of the countryRevision property.
Link copied to clipboard
open fun setDynamic(value: T_YesNo)
Sets the value of the dynamic property.
Link copied to clipboard
open fun setHeight(value: Double)
Sets the value of the height property.
Link copied to clipboard
open fun setHOffset(value: Double)
Sets the value of the hOffset property.
Link copied to clipboard
open fun setId(value: String)
Sets the value of the id property.
Link copied to clipboard
open fun setName(value: String)
Sets the value of the name property.
Link copied to clipboard
open fun setOrientation(value: String)
Sets the value of the orientation property.
Link copied to clipboard
open fun setPitch(value: Double)
Sets the value of the pitch property.
Link copied to clipboard
Sets the value of the positionInertial property.
Link copied to clipboard
Sets the value of the positionRoad property.
Link copied to clipboard
open fun setRoll(value: Double)
Sets the value of the roll property.
Link copied to clipboard
open fun setS(value: Double)
Sets the value of the s property.
Link copied to clipboard
open fun setSubtype(value: String)
Sets the value of the subtype property.
Link copied to clipboard
open fun setT(value: Double)
Sets the value of the t property.
Link copied to clipboard
open fun setText(value: String)
Sets the value of the text property.
Link copied to clipboard
open fun setType(value: String)
Sets the value of the type property.
Link copied to clipboard
open fun setUnit(value: String)
Sets the value of the unit property.
Link copied to clipboard
open fun setValue(value: Double)
Sets the value of the value property.
Link copied to clipboard
open fun setWidth(value: Double)
Sets the value of the width property.
Link copied to clipboard
open fun setZOffset(value: Double)
Sets the value of the zOffset property.