Eclipse SUMO - Simulation of Urban MObility
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 Boundary::add(), NIVissimConnection::getBoundingBox(), NIVissimConnectionCluster::myBoundary, and NIVissimConnectionCluster::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 
)

◆ size()

int NIVissimConnectionCluster::NodeSubCluster::size ( ) const

Friends And Related Function Documentation

◆ NIVissimConnectionCluster

Definition at line 111 of file NIVissimConnectionCluster.h.

Field Documentation

◆ myBoundary

Boundary NIVissimConnectionCluster::NodeSubCluster::myBoundary

Definition at line 113 of file NIVissimConnectionCluster.h.

Referenced by overlapsWith().

◆ myConnections

ConnectionCont NIVissimConnectionCluster::NodeSubCluster::myConnections

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