T_Road_Railroad_Switch_MainTrack

Main tracks form the primary course for rail bound traffic.

Java class for t_road_railroad_switch_mainTrack complex type

.

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


<complexType name="t_road_railroad_switch_mainTrack">
  <complexContent>
    <extension base="{}_OpenDriveElement">
      <sequence>
        <group ref="{}g_additionalData" maxOccurs="unbounded" minOccurs="0"/>
      </sequence>
      <attribute name="dir" use="required" type="{}e_elementDir" />
      <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="s" use="required" type="{}t_grEqZero" />
    </extension>
  </complexContent>
</complexType>

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun getDir(): String
direction, relative to the s-direction, on the main track for entering the side track via the switch
Link copied to clipboard
ASAM OpenDRIVE offers the possibility to include external data.
Link copied to clipboard
open fun getId(): String
Unique ID of the main track, that is, the element.
Link copied to clipboard
open fun getS(): Double
s-coordinate of the switch, that is, the point where main track and side track meet
Link copied to clipboard
open fun setDir(value: String)
Sets the value of the dir property.
Link copied to clipboard
open fun setId(value: String)
Sets the value of the id property.
Link copied to clipboard
open fun setS(value: Double)
Sets the value of the s property.