Class OpenDRIVE.Road.PlanView
java.lang.Object
org.opentrafficsim.opendrive.xml.generated.OpenDRIVE.Road.PlanView
- All Implemented Interfaces:
Serializable
- Enclosing class:
- OpenDRIVE.Road
@Generated(value="com.sun.tools.xjc.Driver", date="2020-02-10T10:00:13+01:00", comments="JAXB RI v2.3.0") public static class OpenDRIVE.Road.PlanView 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">
<sequence>
<element name="geometry" maxOccurs="unbounded">
<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>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenDRIVE.Road.PlanView.GeometryJava class for anonymous complex type. -
Field Summary
Fields Modifier and Type Field Description protected List<OpenDRIVE.Road.PlanView.Geometry>geometry -
Constructor Summary
Constructors Constructor Description PlanView() -
Method Summary
Modifier and Type Method Description List<OpenDRIVE.Road.PlanView.Geometry>getGeometry()Gets the value of the geometry property.
-
Field Details
-
geometry
@Generated(value="com.sun.tools.xjc.Driver", date="2020-02-10T10:00:13+01:00", comments="JAXB RI v2.3.0") protected List<OpenDRIVE.Road.PlanView.Geometry> geometry
-
-
Constructor Details
-
PlanView
public PlanView()
-
-
Method Details
-
getGeometry
@Generated(value="com.sun.tools.xjc.Driver", date="2020-02-10T10:00:13+01:00", comments="JAXB RI v2.3.0") public List<OpenDRIVE.Road.PlanView.Geometry> getGeometry()Gets the value of the geometry 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
setmethod for the geometry property.For example, to add a new item, do as follows:
getGeometry().add(newItem);Objects of the following type(s) are allowed in the list
OpenDRIVE.Road.PlanView.Geometry
-