Eclipse SUMO - Simulation of Urban MObility
|
Public Types | |
typedef std::vector< NIVissimConnection * > | ConnectionCont |
Public Member Functions | |
void | add (const NodeSubCluster &c) |
void | add (NIVissimConnection *c) |
std::vector< int > | getConnectionIDs () const |
NodeSubCluster (NIVissimConnection *c) | |
bool | overlapsWith (const NodeSubCluster &c, double offset=0) |
int | size () const |
~NodeSubCluster () | |
Data Fields | |
Boundary | myBoundary |
ConnectionCont | myConnections |
Friends | |
class | NIVissimConnectionCluster |
Definition at line 102 of file NIVissimConnectionCluster.h.
typedef std::vector<NIVissimConnection*> NIVissimConnectionCluster::NodeSubCluster::ConnectionCont |
Definition at line 114 of file NIVissimConnectionCluster.h.
NIVissimConnectionCluster::NodeSubCluster::NodeSubCluster | ( | NIVissimConnection * | c | ) |
Definition at line 57 of file NIVissimConnectionCluster.cpp.
References add().
NIVissimConnectionCluster::NodeSubCluster::~NodeSubCluster | ( | ) |
Definition at line 62 of file NIVissimConnectionCluster.cpp.
void NIVissimConnectionCluster::NodeSubCluster::add | ( | const NodeSubCluster & | c | ) |
Definition at line 73 of file NIVissimConnectionCluster.cpp.
References NIVissimConnectionCluster::add(), and myConnections.
void NIVissimConnectionCluster::NodeSubCluster::add | ( | NIVissimConnection * | c | ) |
Definition at line 66 of file NIVissimConnectionCluster.cpp.
References Boundary::add(), NIVissimConnection::getBoundingBox(), NIVissimConnectionCluster::myBoundary, and NIVissimConnectionCluster::myConnections.
Referenced by NodeSubCluster().
std::vector< int > NIVissimConnectionCluster::NodeSubCluster::getConnectionIDs | ( | ) | const |
Definition at line 87 of file NIVissimConnectionCluster.cpp.
References NIVissimConnectionCluster::getNextFreeNodeID(), and NIVissimConnectionCluster::myConnections.
bool NIVissimConnectionCluster::NodeSubCluster::overlapsWith | ( | const NodeSubCluster & | c, |
double | offset = 0 |
||
) |
Definition at line 99 of file NIVissimConnectionCluster.cpp.
References myBoundary, NIVissimConnectionCluster::myBoundary, Boundary::overlapsWith(), Boundary::xmax(), and Boundary::xmin().
int NIVissimConnectionCluster::NodeSubCluster::size | ( | ) | const |
Definition at line 81 of file NIVissimConnectionCluster.cpp.
References NIVissimConnectionCluster::myConnections.
|
friend |
Definition at line 111 of file NIVissimConnectionCluster.h.
Boundary NIVissimConnectionCluster::NodeSubCluster::myBoundary |
Definition at line 113 of file NIVissimConnectionCluster.h.
Referenced by overlapsWith().
ConnectionCont NIVissimConnectionCluster::NodeSubCluster::myConnections |
Definition at line 115 of file NIVissimConnectionCluster.h.
Referenced by add(), and NIVissimConnectionCluster::removeConnections().