![]() |
SUMO - Simulation of Urban MObility
|
Representation of an openDrive "link". More...
#include <NIImporter_OpenDrive.h>
Public Member Functions | |
int | getPriority (OpenDriveXMLTag dir) const |
Returns the edge's priority, regarding the direction. More... | |
OpenDriveEdge (const std::string &idArg, const std::string &streetNameArg, const std::string &junctionArg, SUMOReal lengthArg) | |
Data Fields | |
std::set< Connection > | connections |
std::vector< OpenDriveElevation > | elevations |
NBNode * | from |
PositionVector | geom |
std::vector< OpenDriveGeometry > | geometries |
std::string | id |
The id of the edge. More... | |
bool | isInner |
std::string | junction |
The id of the junction the edge belongs to. More... | |
std::vector< OpenDriveLaneSection > | laneSections |
SUMOReal | length |
The length of the edge. More... | |
std::vector< OpenDriveLink > | links |
std::vector< OpenDriveSignal > | signals |
std::string | streetName |
The road name of the edge. More... | |
NBNode * | to |
Representation of an openDrive "link".
Definition at line 391 of file NIImporter_OpenDrive.h.
|
inline |
Definition at line 392 of file NIImporter_OpenDrive.h.
int NIImporter_OpenDrive::OpenDriveEdge::getPriority | ( | OpenDriveXMLTag | dir | ) | const |
Returns the edge's priority, regarding the direction.
The priority is determined by evaluating the signs located at the road
[in] | dir | The direction which priority shall be returned |
Definition at line 1266 of file NIImporter_OpenDrive.cpp.
References NIImporter_OpenDrive::OPENDRIVE_TAG_LEFT, and NIImporter_OpenDrive::OPENDRIVE_TAG_RIGHT.
Referenced by NIImporter_OpenDrive::loadNetwork().
std::set<Connection> NIImporter_OpenDrive::OpenDriveEdge::connections |
Definition at line 428 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::buildConnectionsToOuter(), NIImporter_OpenDrive::myEndElement(), NIImporter_OpenDrive::myStartElement(), and NIImporter_OpenDrive::setEdgeLinks2().
std::vector<OpenDriveElevation> NIImporter_OpenDrive::OpenDriveEdge::elevations |
Definition at line 422 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::computeShapes(), and NIImporter_OpenDrive::myStartElement().
NBNode* NIImporter_OpenDrive::OpenDriveEdge::from |
Definition at line 423 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::loadNetwork(), and NIImporter_OpenDrive::setNodeSecure().
PositionVector NIImporter_OpenDrive::OpenDriveEdge::geom |
Definition at line 425 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::computeShapes(), and NIImporter_OpenDrive::loadNetwork().
std::vector<OpenDriveGeometry> NIImporter_OpenDrive::OpenDriveEdge::geometries |
Definition at line 421 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::addGeometryShape(), NIImporter_OpenDrive::computeShapes(), and NIImporter_OpenDrive::myStartElement().
std::string NIImporter_OpenDrive::OpenDriveEdge::id |
The id of the edge.
Definition at line 413 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::addGeometryShape(), NIImporter_OpenDrive::computeShapes(), NIImporter_OpenDrive::geomFromSpiral(), NIImporter_OpenDrive::loadNetwork(), NIImporter_OpenDrive::myEndElement(), NIImporter_OpenDrive::myStartElement(), NIImporter_OpenDrive::revisitLaneSections(), NIImporter_OpenDrive::setEdgeLinks2(), and NIImporter_OpenDrive::setNodeSecure().
bool NIImporter_OpenDrive::OpenDriveEdge::isInner |
Definition at line 429 of file NIImporter_OpenDrive.h.
std::string NIImporter_OpenDrive::OpenDriveEdge::junction |
The id of the junction the edge belongs to.
Definition at line 417 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::loadNetwork().
std::vector<OpenDriveLaneSection> NIImporter_OpenDrive::OpenDriveEdge::laneSections |
Definition at line 426 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::loadNetwork(), NIImporter_OpenDrive::myEndElement(), NIImporter_OpenDrive::myStartElement(), NIImporter_OpenDrive::revisitLaneSections(), and NIImporter_OpenDrive::setEdgeLinks2().
SUMOReal NIImporter_OpenDrive::OpenDriveEdge::length |
The length of the edge.
Definition at line 419 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::loadNetwork().
std::vector<OpenDriveLink> NIImporter_OpenDrive::OpenDriveEdge::links |
Definition at line 420 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::addLink(), NIImporter_OpenDrive::loadNetwork(), and NIImporter_OpenDrive::setEdgeLinks2().
std::vector<OpenDriveSignal> NIImporter_OpenDrive::OpenDriveEdge::signals |
Definition at line 427 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::loadNetwork(), and NIImporter_OpenDrive::myStartElement().
std::string NIImporter_OpenDrive::OpenDriveEdge::streetName |
The road name of the edge.
Definition at line 415 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::loadNetwork().
NBNode* NIImporter_OpenDrive::OpenDriveEdge::to |
Definition at line 424 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::loadNetwork(), and NIImporter_OpenDrive::setNodeSecure().