T_Road
In OpenDRIVE, the road network is represented by elements. Each road runs along one road reference line. A road shall have at least one lane with a width larger than 0. OpenDRIVE roads may be roads in the real road network or artificial road network created for application use. Each road is described by one or more
Java class for t_road complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="t_road">
<complexContent>
<extension base="{}_OpenDriveElement">
<sequence>
<element name="link" type="{}t_road_link" minOccurs="0"/>
<element name="type" type="{}t_road_type" maxOccurs="unbounded" minOccurs="0"/>
<element name="planView" type="{}t_road_planView"/>
<element name="elevationProfile" type="{}t_road_elevationProfile" minOccurs="0"/>
<element name="lateralProfile" type="{}t_road_lateralProfile" minOccurs="0"/>
<element name="lanes" type="{}t_road_lanes"/>
<element name="objects" type="{}t_road_objects" minOccurs="0"/>
<element name="signals" type="{}t_road_signals" minOccurs="0"/>
<element name="surface" type="{}t_road_surface" minOccurs="0"/>
<element name="railroad" type="{}t_road_railroad" minOccurs="0"/>
<group ref="{}g_additionalData" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="length" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="junction" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="rule" type="{}e_trafficRule" />
</extension>
</complexContent>
</complexType>
Content copied to clipboard
Functions
Link copied to clipboard
Gets the value of the elevationProfile property.
Link copied to clipboard
OpenDRIVE offers the possibility to include external data.
Link copied to clipboard
ID of the junction to which the road belongs as a connecting road (= -1 for none)
Link copied to clipboard
Gets the value of the lanes property.
Link copied to clipboard
Gets the value of the lateralProfile property.
Link copied to clipboard
Gets the value of the link property.
Link copied to clipboard
Gets the value of the objects property.
Link copied to clipboard
Gets the value of the planView property.
Link copied to clipboard
Gets the value of the railroad property.
Link copied to clipboard
Basic rule for using the road; RHT=right-hand traffic, LHT=left-hand traffic.
Link copied to clipboard
Gets the value of the signals property.
Link copied to clipboard
Gets the value of the surface property.
Link copied to clipboard
Gets the value of the type property.
Link copied to clipboard
Sets the value of the elevationProfile property.
Link copied to clipboard
Sets the value of the junction property.
Link copied to clipboard
Sets the value of the lanes property.
Link copied to clipboard
Sets the value of the lateralProfile property.
Link copied to clipboard
Sets the value of the link property.
Link copied to clipboard
Sets the value of the objects property.
Link copied to clipboard
Sets the value of the planView property.
Link copied to clipboard
Sets the value of the railroad property.
Link copied to clipboard
Sets the value of the rule property.
Link copied to clipboard
Sets the value of the signals property.
Link copied to clipboard
Sets the value of the surface property.