Eclipse SUMO - Simulation of Urban MObility
|
#include <NIVissimAbstractEdge.h>
Public Member Functions | |
void | addDisturbance (int disturbance) |
virtual void | buildGeom ()=0 |
bool | crossesEdge (NIVissimAbstractEdge *c) const |
Position | crossesEdgeAtPoint (NIVissimAbstractEdge *c) const |
const std::vector< int > & | getDisturbances () const |
const PositionVector & | getGeometry () const |
Position | getGeomPosition (double pos) const |
int | getID () const |
bool | hasNodeCluster () const |
NIVissimAbstractEdge (int id, const PositionVector &geom) | |
bool | overlapsWith (const AbstractPoly &p, double offset=0.0) const |
virtual void | setNodeCluster (int nodeid)=0 |
void | splitAssigning () |
virtual | ~NIVissimAbstractEdge () |
Static Public Member Functions | |
static void | clearDict () |
static NIVissimAbstractEdge * | dictionary (int id) |
static bool | dictionary (int id, NIVissimAbstractEdge *e) |
static std::vector< int > | getWithin (const AbstractPoly &p, double offset=0.0) |
static void | splitAndAssignToNodes () |
Protected Attributes | |
std::vector< int > | myDisturbances |
PositionVector | myGeom |
int | myID |
int | myNode |
Private Types | |
typedef std::map< int, NIVissimAbstractEdge * > | DictType |
Static Private Attributes | |
static DictType | myDict |
Definition at line 34 of file NIVissimAbstractEdge.h.
|
private |
Definition at line 69 of file NIVissimAbstractEdge.h.
NIVissimAbstractEdge::NIVissimAbstractEdge | ( | int | id, |
const PositionVector & | geom | ||
) |
Definition at line 37 of file NIVissimAbstractEdge.cpp.
References dictionary(), myGeom, PositionVector::push_back_noDoublePos(), TL, toString(), NBNetBuilder::transformCoordinate(), and WRITE_WARNINGF.
|
virtual |
Definition at line 53 of file NIVissimAbstractEdge.cpp.
void NIVissimAbstractEdge::addDisturbance | ( | int | disturbance | ) |
Definition at line 166 of file NIVissimAbstractEdge.cpp.
References myDisturbances.
|
pure virtual |
Implemented in NIVissimConnection, and NIVissimEdge.
Referenced by NIVissimNodeCluster::buildNBNode().
|
static |
Definition at line 151 of file NIVissimAbstractEdge.cpp.
References myDict.
Referenced by NIImporter_Vissim::~NIImporter_Vissim().
bool NIVissimAbstractEdge::crossesEdge | ( | NIVissimAbstractEdge * | c | ) | const |
Definition at line 109 of file NIVissimAbstractEdge.cpp.
References PositionVector::intersects(), and myGeom.
Referenced by NIVissimNodeCluster::buildNBNode().
Position NIVissimAbstractEdge::crossesEdgeAtPoint | ( | NIVissimAbstractEdge * | c | ) | const |
Definition at line 115 of file NIVissimAbstractEdge.cpp.
References PositionVector::intersectionPosition2D(), and myGeom.
Referenced by NIVissimDisturbance::addToNode(), and NIVissimNodeCluster::buildNBNode().
|
static |
Definition at line 68 of file NIVissimAbstractEdge.cpp.
References myDict.
|
static |
Definition at line 57 of file NIVissimAbstractEdge.cpp.
References myDict.
Referenced by NIVissimNodeCluster::buildNBNode(), NIVissimDisturbance::computeBounding(), NIVissimDisturbance::dict_SetDisturbances(), NIVissimExtendedEdgePoint::getGeomPosition(), NIVissimTL::NIVissimTLSignal::getPosition(), and NIVissimAbstractEdge().
const std::vector< int > & NIVissimAbstractEdge::getDisturbances | ( | ) | const |
Definition at line 172 of file NIVissimAbstractEdge.cpp.
References myDisturbances.
Referenced by NIVissimConnectionCluster::getDisturbanceParticipators().
const PositionVector & NIVissimAbstractEdge::getGeometry | ( | ) | const |
Definition at line 160 of file NIVissimAbstractEdge.cpp.
References myGeom.
Referenced by NIVissimEdge::dict_checkEdges2Join(), NIVissimConnectionCluster::getIncomingContinuation(), NIVissimConnectionCluster::getIncomingContinuationGeometry(), NIVissimConnectionCluster::getOutgoingContinuation(), NIVissimConnectionCluster::getOutgoingContinuationGeometry(), NIVissimConnectionCluster::getPositionForEdge(), NIVissimConnectionCluster::isWeakDistrictConnRealisation(), NIVissimConnectionCluster::liesOnSameEdgesEnd(), NIVissimConnectionCluster::same_direction_sorter::operator()(), and NIVissimConnectionCluster::recomputeBoundary().
Position NIVissimAbstractEdge::getGeomPosition | ( | double | pos | ) | const |
Definition at line 79 of file NIVissimAbstractEdge.cpp.
References PositionVector::extrapolate(), PositionVector::length(), myGeom, and PositionVector::positionAtOffset().
Referenced by NIVissimDistrictConnection::geomPosition().
int NIVissimAbstractEdge::getID | ( | ) | const |
Definition at line 146 of file NIVissimAbstractEdge.cpp.
References myID.
Referenced by NIVissimDisturbance::addToNode(), NIVissimConnection::buildEdgeConnections(), NIVissimEdge::dict_checkEdges2Join(), NIVissimEdge::getConnectionTo(), NIVissimConnectionCluster::getIncomingContinuation(), NIVissimConnectionCluster::getIncomingContinuationGeometry(), NIVissimConnectionCluster::getOutgoingContinuation(), NIVissimConnectionCluster::getOutgoingContinuationGeometry(), and NIVissimConnectionCluster::removeConnections().
|
static |
Definition at line 121 of file NIVissimAbstractEdge.cpp.
References myDict, myID, and overlapsWith().
bool NIVissimAbstractEdge::hasNodeCluster | ( | ) | const |
Definition at line 140 of file NIVissimAbstractEdge.cpp.
References myNode.
bool NIVissimAbstractEdge::overlapsWith | ( | const AbstractPoly & | p, |
double | offset = 0.0 |
||
) | const |
Definition at line 134 of file NIVissimAbstractEdge.cpp.
References myGeom, and PositionVector::overlapsWith().
Referenced by getWithin().
|
pure virtual |
Implemented in NIVissimConnection, and NIVissimEdge.
|
static |
Definition at line 94 of file NIVissimAbstractEdge.cpp.
References myDict, and splitAssigning().
void NIVissimAbstractEdge::splitAssigning | ( | ) |
Definition at line 102 of file NIVissimAbstractEdge.cpp.
Referenced by splitAndAssignToNodes().
|
staticprivate |
Definition at line 70 of file NIVissimAbstractEdge.h.
Referenced by clearDict(), dictionary(), dictionary(), getWithin(), and splitAndAssignToNodes().
|
protected |
Definition at line 65 of file NIVissimAbstractEdge.h.
Referenced by addDisturbance(), and getDisturbances().
|
protected |
Definition at line 64 of file NIVissimAbstractEdge.h.
Referenced by NIVissimConnection::buildGeom(), NIVissimEdge::buildNBEdge(), crossesEdge(), crossesEdgeAtPoint(), NIVissimEdge::getBegin2D(), NIVissimEdge::getEnd2D(), NIVissimEdge::getFromNode(), getGeometry(), getGeomPosition(), NIVissimEdge::getLength(), NIVissimEdge::getToNode(), NIVissimAbstractEdge(), overlapsWith(), and NIVissimEdge::resolveSameNode().
|
protected |
Definition at line 63 of file NIVissimAbstractEdge.h.
Referenced by NIVissimEdge::buildNBEdge(), NIVissimEdge::getFromNode(), getID(), NIVissimEdge::getToNode(), getWithin(), NIVissimEdge::NIVissimEdge(), NIVissimEdge::resolveSameNode(), and NIVissimEdge::setDistrictSpeed().
|
protected |
Definition at line 66 of file NIVissimAbstractEdge.h.
Referenced by hasNodeCluster(), NIVissimConnection::setNodeCluster(), and NIVissimEdge::setNodeCluster().