Class OpenDRIVE.Road.PlanView.Geometry

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    OpenDRIVE.Road.PlanView

    @Generated(value="com.sun.tools.xjc.Driver",
               date="2020-10-31T04:57:42+01:00",
               comments="JAXB RI v2.3.0")
    public static class OpenDRIVE.Road.PlanView.Geometry
    extends Object
    implements Serializable

    Java class for anonymous complex type.

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

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <choice>
             <element name="line">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <sequence>
                       <element name="userData" type="{}userData" maxOccurs="unbounded" minOccurs="0"/>
                       <element name="include" type="{}include" maxOccurs="unbounded" minOccurs="0"/>
                     </sequence>
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
             <element name="spiral">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <sequence>
                       <element name="userData" type="{}userData" maxOccurs="unbounded" minOccurs="0"/>
                       <element name="include" type="{}include" maxOccurs="unbounded" minOccurs="0"/>
                     </sequence>
                     <attribute name="curvStart" type="{http://www.w3.org/2001/XMLSchema}double" />
                     <attribute name="curvEnd" type="{http://www.w3.org/2001/XMLSchema}double" />
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
             <element name="arc">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <sequence>
                       <element name="userData" type="{}userData" maxOccurs="unbounded" minOccurs="0"/>
                       <element name="include" type="{}include" maxOccurs="unbounded" minOccurs="0"/>
                     </sequence>
                     <attribute name="curvature" type="{http://www.w3.org/2001/XMLSchema}double" />
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
             <element name="poly3">
               <complexType>
                 <complexContent>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     <sequence>
                       <element name="userData" type="{}userData" maxOccurs="unbounded" minOccurs="0"/>
                       <element name="include" type="{}include" maxOccurs="unbounded" minOccurs="0"/>
                     </sequence>
                     <attribute name="a" type="{http://www.w3.org/2001/XMLSchema}double" />
                     <attribute name="b" type="{http://www.w3.org/2001/XMLSchema}double" />
                     <attribute name="c" type="{http://www.w3.org/2001/XMLSchema}double" />
                     <attribute name="d" type="{http://www.w3.org/2001/XMLSchema}double" />
                   </restriction>
                 </complexContent>
               </complexType>
             </element>
             <element name="userData" type="{}userData" maxOccurs="unbounded" minOccurs="0"/>
             <element name="include" type="{}include" maxOccurs="unbounded" minOccurs="0"/>
           </choice>
           <attribute name="s" type="{http://www.w3.org/2001/XMLSchema}double" />
           <attribute name="x" type="{http://www.w3.org/2001/XMLSchema}double" />
           <attribute name="y" type="{http://www.w3.org/2001/XMLSchema}double" />
           <attribute name="hdg" type="{http://www.w3.org/2001/XMLSchema}double" />
           <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}double" />
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • userData

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-10-31T04:57:42+01:00",
                   comments="JAXB RI v2.3.0")
        protected List<UserData> userData
      • include

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-10-31T04:57:42+01:00",
                   comments="JAXB RI v2.3.0")
        protected List<Include> include
      • s

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-10-31T04:57:42+01:00",
                   comments="JAXB RI v2.3.0")
        protected Double s
      • x

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-10-31T04:57:42+01:00",
                   comments="JAXB RI v2.3.0")
        protected Double x
      • y

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-10-31T04:57:42+01:00",
                   comments="JAXB RI v2.3.0")
        protected Double y
      • hdg

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-10-31T04:57:42+01:00",
                   comments="JAXB RI v2.3.0")
        protected Double hdg
      • length

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-10-31T04:57:42+01:00",
                   comments="JAXB RI v2.3.0")
        protected Double length
    • Constructor Detail

      • Geometry

        public Geometry()
    • Method Detail

      • getUserData

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-10-31T04:57:42+01:00",
                   comments="JAXB RI v2.3.0")
        public List<UserData> getUserData()
        Gets the value of the userData property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the userData property.

        For example, to add a new item, do as follows:

            getUserData().add(newItem);
         

        Objects of the following type(s) are allowed in the list UserData

      • getInclude

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-10-31T04:57:42+01:00",
                   comments="JAXB RI v2.3.0")
        public List<Include> getInclude()
        Gets the value of the include property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the include property.

        For example, to add a new item, do as follows:

            getInclude().add(newItem);
         

        Objects of the following type(s) are allowed in the list Include

      • getS

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-10-31T04:57:42+01:00",
                   comments="JAXB RI v2.3.0")
        public Double getS()
        Gets the value of the s property.
        Returns:
        possible object is Double
      • setS

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-10-31T04:57:42+01:00",
                   comments="JAXB RI v2.3.0")
        public void setS​(Double value)
        Sets the value of the s property.
        Parameters:
        value - allowed object is Double
      • getX

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-10-31T04:57:42+01:00",
                   comments="JAXB RI v2.3.0")
        public Double getX()
        Gets the value of the x property.
        Returns:
        possible object is Double
      • setX

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-10-31T04:57:42+01:00",
                   comments="JAXB RI v2.3.0")
        public void setX​(Double value)
        Sets the value of the x property.
        Parameters:
        value - allowed object is Double
      • getY

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-10-31T04:57:42+01:00",
                   comments="JAXB RI v2.3.0")
        public Double getY()
        Gets the value of the y property.
        Returns:
        possible object is Double
      • setY

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-10-31T04:57:42+01:00",
                   comments="JAXB RI v2.3.0")
        public void setY​(Double value)
        Sets the value of the y property.
        Parameters:
        value - allowed object is Double
      • getHdg

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-10-31T04:57:42+01:00",
                   comments="JAXB RI v2.3.0")
        public Double getHdg()
        Gets the value of the hdg property.
        Returns:
        possible object is Double
      • setHdg

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-10-31T04:57:42+01:00",
                   comments="JAXB RI v2.3.0")
        public void setHdg​(Double value)
        Sets the value of the hdg property.
        Parameters:
        value - allowed object is Double
      • getLength

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-10-31T04:57:42+01:00",
                   comments="JAXB RI v2.3.0")
        public Double getLength()
        Gets the value of the length property.
        Returns:
        possible object is Double
      • setLength

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-10-31T04:57:42+01:00",
                   comments="JAXB RI v2.3.0")
        public void setLength​(Double value)
        Sets the value of the length property.
        Parameters:
        value - allowed object is Double