Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
NBEdgeCont::Split Struct Reference

A structure which describes changes of lane number or speed along the road. More...

#include <NBEdgeCont.h>

Collaboration diagram for NBEdgeCont::Split:
[legend]

Data Fields

double friction = INVALID_DOUBLE
 The friction after this change.
 
std::string idAfter
 The id for the edge after the split.
 
std::string idBefore
 The id for the edge before the split.
 
std::vector< int > lanes
 The lanes after this change.
 
std::string nameID
 the default node id
 
NBNodenode = nullptr
 The new node that is created for this split.
 
double offset = 0.
 lateral offset to edge geometry
 
int offsetFactor = 1
 direction in which to apply the offset (used by netgenerate for lefthand networks)
 
double pos = INVALID_DOUBLE
 The position of this change.
 
double speed = INVALID_DOUBLE
 The speed after this change.
 

Detailed Description

A structure which describes changes of lane number or speed along the road.

Definition at line 189 of file NBEdgeCont.h.

Field Documentation

◆ friction

double NBEdgeCont::Split::friction = INVALID_DOUBLE

The friction after this change.

Definition at line 197 of file NBEdgeCont.h.

◆ idAfter

std::string NBEdgeCont::Split::idAfter

The id for the edge after the split.

Definition at line 203 of file NBEdgeCont.h.

Referenced by NIXMLEdgesHandler::addSplit().

◆ idBefore

std::string NBEdgeCont::Split::idBefore

The id for the edge before the split.

Definition at line 201 of file NBEdgeCont.h.

Referenced by NIXMLEdgesHandler::addSplit().

◆ lanes

std::vector<int> NBEdgeCont::Split::lanes

The lanes after this change.

Definition at line 191 of file NBEdgeCont.h.

Referenced by NIXMLEdgesHandler::addSplit(), NBEdgeCont::processSplits(), and NGNet::toNB().

◆ nameID

std::string NBEdgeCont::Split::nameID

the default node id

Definition at line 205 of file NBEdgeCont.h.

Referenced by NIXMLEdgesHandler::addSplit().

◆ node

NBNode* NBEdgeCont::Split::node = nullptr

The new node that is created for this split.

Definition at line 199 of file NBEdgeCont.h.

Referenced by NIXMLEdgesHandler::addSplit().

◆ offset

double NBEdgeCont::Split::offset = 0.

lateral offset to edge geometry

Definition at line 207 of file NBEdgeCont.h.

Referenced by NBEdgeCont::processSplits().

◆ offsetFactor

int NBEdgeCont::Split::offsetFactor = 1

direction in which to apply the offset (used by netgenerate for lefthand networks)

Definition at line 209 of file NBEdgeCont.h.

Referenced by NIXMLEdgesHandler::addSplit(), and NBEdgeCont::processSplits().

◆ pos

double NBEdgeCont::Split::pos = INVALID_DOUBLE

◆ speed

double NBEdgeCont::Split::speed = INVALID_DOUBLE

The speed after this change.

Definition at line 195 of file NBEdgeCont.h.

Referenced by NIXMLEdgesHandler::addSplit().


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