T_Road_Objects_Tunnel

Tunnels are modeled as objects in ASAM OpenDRIVE. The road with the tunnel object defines the part of the road that is the tunnel or the underpass. Tunnels are valid for the complete cross section of a road unless a lane validity element with further restrictions is provided as child element

Java class for t_road_objects_tunnel complex type

.

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


<complexType name="t_road_objects_tunnel">
  <complexContent>
    <extension base="{}_OpenDriveElement">
      <sequence>
        <element name="validity" type="{}t_road_objects_object_laneValidity" maxOccurs="unbounded" minOccurs="0"/>
        <group ref="{}g_additionalData" maxOccurs="unbounded" minOccurs="0"/>
      </sequence>
      <attribute name="daylight" type="{}t_zeroOne" />
      <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="length" use="required" type="{}t_grEqZero" />
      <attribute name="lighting" type="{}t_zeroOne" />
      <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="s" use="required" type="{}t_grEqZero" />
      <attribute name="type" use="required" type="{}e_tunnelType" />
    </extension>
  </complexContent>
</complexType>

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun getDaylight(): Double
Degree of daylight intruding the tunnel.
Link copied to clipboard
ASAM OpenDRIVE offers the possibility to include external data.
Link copied to clipboard
open fun getId(): String
Unique ID within database
Link copied to clipboard
open fun getLength(): Double
Length of the tunnel (in s-direction)
Link copied to clipboard
open fun getLighting(): Double
Degree of artificial tunnel lighting.
Link copied to clipboard
open fun getName(): String
Name of the tunnel.
Link copied to clipboard
open fun getS(): Double
s-coordinate
Link copied to clipboard
open fun getType(): E_TunnelType
Type of tunnel
Link copied to clipboard
Gets the value of the validity property.
Link copied to clipboard
open fun setDaylight(value: Double)
Sets the value of the daylight property.
Link copied to clipboard
open fun setId(value: String)
Sets the value of the id property.
Link copied to clipboard
open fun setLength(value: Double)
Sets the value of the length property.
Link copied to clipboard
open fun setLighting(value: Double)
Sets the value of the lighting property.
Link copied to clipboard
open fun setName(value: String)
Sets the value of the name property.
Link copied to clipboard
open fun setS(value: Double)
Sets the value of the s property.
Link copied to clipboard
open fun setType(value: E_TunnelType)
Sets the value of the type property.