Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
NIVissimConnectionCluster::NodeSubCluster Class Reference
Collaboration diagram for NIVissimConnectionCluster::NodeSubCluster:
[legend]

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

Detailed Description

Definition at line 102 of file NIVissimConnectionCluster.h.

Member Typedef Documentation

◆ ConnectionCont

Constructor & Destructor Documentation

◆ NodeSubCluster()

NIVissimConnectionCluster::NodeSubCluster::NodeSubCluster ( NIVissimConnection * c)

Definition at line 57 of file NIVissimConnectionCluster.cpp.

References add().

◆ ~NodeSubCluster()

NIVissimConnectionCluster::NodeSubCluster::~NodeSubCluster ( )

Definition at line 62 of file NIVissimConnectionCluster.cpp.

Member Function Documentation

◆ add() [1/2]

void NIVissimConnectionCluster::NodeSubCluster::add ( const NodeSubCluster & c)

◆ add() [2/2]

void NIVissimConnectionCluster::NodeSubCluster::add ( NIVissimConnection * c)

Definition at line 66 of file NIVissimConnectionCluster.cpp.

References NIVissimConnection::getBoundingBox(), myBoundary, and myConnections.

Referenced by NodeSubCluster().

Here is the caller graph for this function:

◆ getConnectionIDs()

std::vector< int > NIVissimConnectionCluster::NodeSubCluster::getConnectionIDs ( ) const

◆ overlapsWith()

bool NIVissimConnectionCluster::NodeSubCluster::overlapsWith ( const NodeSubCluster & c,
double offset = 0 )

Definition at line 99 of file NIVissimConnectionCluster.cpp.

References myBoundary, Boundary::xmax(), and Boundary::xmin().

◆ size()

int NIVissimConnectionCluster::NodeSubCluster::size ( ) const

Definition at line 81 of file NIVissimConnectionCluster.cpp.

References myConnections.

◆ NIVissimConnectionCluster

Definition at line 111 of file NIVissimConnectionCluster.h.

References NIVissimConnectionCluster.

Referenced by NIVissimConnectionCluster.

Field Documentation

◆ myBoundary

Boundary NIVissimConnectionCluster::NodeSubCluster::myBoundary

Definition at line 113 of file NIVissimConnectionCluster.h.

Referenced by add(), and overlapsWith().

◆ myConnections

ConnectionCont NIVissimConnectionCluster::NodeSubCluster::myConnections

The documentation for this class was generated from the following files: