SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NIImporter_OpenDrive::OpenDriveEdge Struct Reference

Representation of an openDrive "link". More...

#include <NIImporter_OpenDrive.h>

Public Member Functions

unsigned int getMaxLaneNumber (OpenDriveXMLTag dir) const
 OpenDriveEdge (const std::string &idArg, const std::string &junctionArg, SUMOReal lengthArg)

Data Fields

std::map< int, intbeginLaneMap
std::map< int, intendLaneMap
NBNodefrom
PositionVector geom
std::vector< OpenDriveGeometrygeometries
std::string id
 The id of the edge.
std::string junction
 The id of the junction the edge belongs to.
std::vector< OpenDriveLaneSectionlaneSections
SUMOReal length
 The length of the edge.
std::vector< OpenDriveLinklinks
NBNodeto

Detailed Description

Representation of an openDrive "link".

Definition at line 267 of file NIImporter_OpenDrive.h.

Constructor & Destructor Documentation

NIImporter_OpenDrive::OpenDriveEdge::OpenDriveEdge ( const std::string &  idArg,
const std::string &  junctionArg,
SUMOReal  lengthArg 
)
inline

Definition at line 268 of file NIImporter_OpenDrive.h.

Member Function Documentation

unsigned int NIImporter_OpenDrive::OpenDriveEdge::getMaxLaneNumber ( OpenDriveXMLTag  dir) const
inline

Definition at line 272 of file NIImporter_OpenDrive.h.

References laneSections, and MAX2().

Referenced by NIImporter_OpenDrive::loadNetwork().

Field Documentation

std::map<int, int> NIImporter_OpenDrive::OpenDriveEdge::beginLaneMap

Definition at line 290 of file NIImporter_OpenDrive.h.

std::map<int, int> NIImporter_OpenDrive::OpenDriveEdge::endLaneMap

Definition at line 291 of file NIImporter_OpenDrive.h.

NBNode* NIImporter_OpenDrive::OpenDriveEdge::from
PositionVector NIImporter_OpenDrive::OpenDriveEdge::geom
std::string NIImporter_OpenDrive::OpenDriveEdge::junction

The id of the junction the edge belongs to.

Definition at line 283 of file NIImporter_OpenDrive.h.

Referenced by NIImporter_OpenDrive::loadNetwork(), and NIImporter_OpenDrive::myEndElement().

std::vector<OpenDriveLaneSection> NIImporter_OpenDrive::OpenDriveEdge::laneSections
SUMOReal NIImporter_OpenDrive::OpenDriveEdge::length

The length of the edge.

Definition at line 285 of file NIImporter_OpenDrive.h.

std::vector<OpenDriveLink> NIImporter_OpenDrive::OpenDriveEdge::links

The documentation for this struct was generated from the following file: