T_Road_Surface_CRG

Data described in OpenCRG is represented by the element within the

Java class for t_road_surface_CRG complex type

.

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


<complexType name="t_road_surface_CRG">
  <complexContent>
    <extension base="{}_OpenDriveElement">
      <sequence>
      </sequence>
      <attribute name="file" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
      <attribute name="sStart" use="required" type="{}t_grEqZero" />
      <attribute name="sEnd" use="required" type="{}t_grEqZero" />
      <attribute name="orientation" use="required" type="{}e_direction" />
      <attribute name="mode" use="required" type="{}e_road_surface_CRG_mode" />
      <attribute name="purpose" type="{}e_road_surface_CRG_purpose" />
      <attribute name="sOffset" type="{http://www.w3.org/2001/XMLSchema}double" />
      <attribute name="tOffset" type="{http://www.w3.org/2001/XMLSchema}double" />
      <attribute name="zOffset" type="{http://www.w3.org/2001/XMLSchema}double" />
      <attribute name="zScale" type="{http://www.w3.org/2001/XMLSchema}double" />
      <attribute name="hOffset" type="{http://www.w3.org/2001/XMLSchema}double" />
    </extension>
  </complexContent>
</complexType>

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun getFile(): String
Name of the file containing the CRG data
Link copied to clipboard
open fun getHOffset(): Double
Heading offset between CRG center line and reference line of the road (required for mode genuine only, default = 0.
Link copied to clipboard
Attachment mode for the surface data, see specification.
Link copied to clipboard
Orientation of the CRG data set relative to the parent element
Link copied to clipboard
Physical purpose of the data contained in the CRG file; if the attribute is missing, data will be interpreted as elevation data.
Link copied to clipboard
open fun getSEnd(): Double
End of the application of CRG (s-coordinate)
Link copied to clipboard
open fun getSOffset(): Double
s-offset between CRG center line and reference line of the road (default = 0.
Link copied to clipboard
open fun getSStart(): Double
Start of the application of CRG data (s-coordinate)
Link copied to clipboard
open fun getTOffset(): Double
t-offset between CRG center line and reference line of the road (default = 0.
Link copied to clipboard
open fun getZOffset(): Double
z-offset between CRG center line and reference line of the road (default = 0.
Link copied to clipboard
open fun getZScale(): Double
z-scale factor for the surface description (default = 1.
Link copied to clipboard
open fun setFile(value: String)
Sets the value of the file property.
Link copied to clipboard
open fun setHOffset(value: Double)
Sets the value of the hOffset property.
Link copied to clipboard
Sets the value of the mode property.
Link copied to clipboard
open fun setOrientation(value: E_Direction)
Sets the value of the orientation property.
Link copied to clipboard
Sets the value of the purpose property.
Link copied to clipboard
open fun setSEnd(value: Double)
Sets the value of the sEnd property.
Link copied to clipboard
open fun setSOffset(value: Double)
Sets the value of the sOffset property.
Link copied to clipboard
open fun setSStart(value: Double)
Sets the value of the sStart property.
Link copied to clipboard
open fun setTOffset(value: Double)
Sets the value of the tOffset property.
Link copied to clipboard
open fun setZOffset(value: Double)
Sets the value of the zOffset property.
Link copied to clipboard
open fun setZScale(value: Double)
Sets the value of the zScale property.