T_Header_Offset

To avoid large coordinates, an offset of the whole dataset may be applied using the element. It enables inertial relocation and re-orientation of datasets. The dataset is first translated by @x, @y, and @z. Afterwards, it is rotated by @hdg around the new origin. Rotation around the z-axis should be avoided.

Java class for t_header_Offset complex type

.

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


<complexType name="t_header_Offset">
  <complexContent>
    <extension base="{}_OpenDriveElement">
      <sequence>
        <group ref="{}g_additionalData" maxOccurs="unbounded" minOccurs="0"/>
      </sequence>
      <attribute name="hdg" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
      <attribute name="x" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
      <attribute name="y" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
      <attribute name="z" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
    </extension>
  </complexContent>
</complexType>

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
ASAM OpenDRIVE offers the possibility to include external data.
Link copied to clipboard
open fun getHdg(): Double
Heading offset (rotation around resulting z-axis)
Link copied to clipboard
open fun getX(): Double
Inertial x offset
Link copied to clipboard
open fun getY(): Double
Inertial y offset
Link copied to clipboard
open fun getZ(): Double
Inertial z offset
Link copied to clipboard
open fun setHdg(value: Double)
Sets the value of the hdg property.
Link copied to clipboard
open fun setX(value: Double)
Sets the value of the x property.
Link copied to clipboard
open fun setY(value: Double)
Sets the value of the y property.
Link copied to clipboard
open fun setZ(value: Double)
Sets the value of the z property.