Eclipse SUMO - Simulation of Urban MObility
|
#include <NIVissimExtendedEdgePoint.h>
Public Member Functions | |
int | getEdgeID () const |
Position | getGeomPosition () const |
const std::vector< int > & | getLanes () const |
double | getPosition () const |
NIVissimExtendedEdgePoint (int edgeid, const std::vector< int > &lanes, double position, const std::vector< int > &assignedVehicles) | |
Constructor. | |
void | recheckLanes (const NBEdge *const edge) |
Resets lane numbers if all lanes shall be used. | |
~NIVissimExtendedEdgePoint () | |
Private Attributes | |
std::vector< int > | myAssignedVehicles |
int | myEdgeID |
std::vector< int > | myLanes |
double | myPosition |
Definition at line 40 of file NIVissimExtendedEdgePoint.h.
NIVissimExtendedEdgePoint::NIVissimExtendedEdgePoint | ( | int | edgeid, |
const std::vector< int > & | lanes, | ||
double | position, | ||
const std::vector< int > & | assignedVehicles | ||
) |
Constructor.
[in] | edgeid | The id of the Vissim-edge |
[in] | lanes | Lanes on which this point lies |
[in] | position | The position of this point at the edge |
[in] | assignedVehicles | Vehicle (type) indices which should be regarded by this point |
Definition at line 32 of file NIVissimExtendedEdgePoint.cpp.
NIVissimExtendedEdgePoint::~NIVissimExtendedEdgePoint | ( | ) |
Definition at line 39 of file NIVissimExtendedEdgePoint.cpp.
int NIVissimExtendedEdgePoint::getEdgeID | ( | ) | const |
Definition at line 43 of file NIVissimExtendedEdgePoint.cpp.
References myEdgeID.
Referenced by NIVissimDisturbance::addToNode(), NIVissimDisturbance::computeBounding(), NIVissimDisturbance::dict_SetDisturbances(), NIVissimDisturbance::getConnection(), NIVissimDisturbance::getDisturbanceID(), NIVissimDisturbance::getEdgeID(), NIVissimConnection::getFromEdgeID(), NIVissimConnection::getToEdgeID(), and NIVissimNodeDef_Edges::lying_within_match::operator()().
Position NIVissimExtendedEdgePoint::getGeomPosition | ( | ) | const |
Definition at line 55 of file NIVissimExtendedEdgePoint.cpp.
References NIVissimAbstractEdge::dictionary(), myEdgeID, and myPosition.
Referenced by NIVissimConnection::buildGeom(), NIVissimConnection::computeBounding(), NIVissimDisturbance::computeBounding(), NIVissimConnection::getFromGeomPosition(), and NIVissimConnection::getToGeomPosition().
const std::vector< int > & NIVissimExtendedEdgePoint::getLanes | ( | ) | const |
Definition at line 62 of file NIVissimExtendedEdgePoint.cpp.
References myLanes.
Referenced by NIVissimConnection::getFromLanes(), and NIVissimConnection::getToLanes().
double NIVissimExtendedEdgePoint::getPosition | ( | ) | const |
Definition at line 49 of file NIVissimExtendedEdgePoint.cpp.
References myPosition.
Referenced by NIVissimDisturbance::addToNode(), NIVissimConnection::getFromPosition(), NIVissimConnection::getToPosition(), and NIVissimNodeDef_Edges::lying_within_match::operator()().
void NIVissimExtendedEdgePoint::recheckLanes | ( | const NBEdge *const | edge | ) |
Resets lane numbers if all lanes shall be used.
If myLanes contains a -1, the content of myLanes is replaced by indices of all lanes of the given edge.
[in] | The | built edge |
Definition at line 68 of file NIVissimExtendedEdgePoint.cpp.
References NBEdge::getNumLanes(), and myLanes.
Referenced by NIVissimConnection::recheckLanes().
|
private |
Definition at line 70 of file NIVissimExtendedEdgePoint.h.
|
private |
Definition at line 67 of file NIVissimExtendedEdgePoint.h.
Referenced by getEdgeID(), and getGeomPosition().
|
private |
Definition at line 68 of file NIVissimExtendedEdgePoint.h.
Referenced by getLanes(), and recheckLanes().
|
private |
Definition at line 69 of file NIVissimExtendedEdgePoint.h.
Referenced by getGeomPosition(), and getPosition().