Eclipse SUMO - Simulation of Urban MObility
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
Functions
a
c
e
f
g
h
i
j
l
n
o
r
s
t
u
Variables
a
c
d
f
g
i
j
k
l
m
o
p
r
s
t
v
Typedefs
b
c
d
e
f
g
i
j
k
m
n
o
p
r
s
t
u
v
Enumerations
Enumerator
a
c
d
f
m
p
s
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
r
s
t
v
w
Enumerations
a
c
d
e
f
g
i
j
l
m
n
o
p
r
s
t
v
w
Enumerator
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
v
w
z
Properties
a
c
d
e
f
g
h
m
n
p
r
s
t
u
v
y
Related Symbols
:
a
b
d
f
g
m
n
o
p
r
s
w
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
i
j
l
m
n
o
p
r
s
t
v
w
Variables
a
c
d
e
f
g
i
l
m
n
o
p
r
s
t
v
w
x
y
z
Typedefs
a
c
e
f
g
i
l
m
n
p
r
s
Enumerations
a
c
d
e
f
g
i
j
k
l
m
n
o
p
r
s
t
v
x
Enumerator
a
b
d
f
g
i
k
l
m
p
r
s
t
v
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
NIVissimNodeDef.h
Go to the documentation of this file.
1
/****************************************************************************/
2
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo
3
// Copyright (C) 2002-2025 German Aerospace Center (DLR) and others.
4
// This program and the accompanying materials are made available under the
5
// terms of the Eclipse Public License 2.0 which is available at
6
// https://www.eclipse.org/legal/epl-2.0/
7
// This Source Code may also be made available under the following Secondary
8
// Licenses when the conditions for such availability set forth in the Eclipse
9
// Public License 2.0 are satisfied: GNU General Public License, version 2
10
// or later which is available at
11
// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
12
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
13
/****************************************************************************/
19
// -------------------
20
/****************************************************************************/
21
#pragma once
22
#include <config.h>
23
24
#include <string>
25
#include <map>
26
#include <
utils/geom/Boundary.h
>
27
#include "
NIVissimExtendedEdgePointVector.h
"
28
#include "
NIVissimNodeCluster.h
"
29
30
31
class
NIVissimNodeDef
{
32
public
:
33
NIVissimNodeDef
(
int
id
,
const
std::string& name);
34
virtual
~NIVissimNodeDef
();
35
int
buildNodeCluster
();
36
// virtual void computeBounding() = 0;
37
// bool partialWithin(const AbstractPoly &p, double off=0.0) const;
38
// virtual void searchAndSetConnections() = 0;
39
virtual
double
getEdgePosition
(
int
edgeid)
const
= 0;
40
41
public
:
42
static
bool
dictionary
(
int
id
,
NIVissimNodeDef
* o);
43
static
NIVissimNodeDef
*
dictionary
(
int
id
);
44
// static std::vector<int> getWithin(const AbstractPoly &p, double off=0.0);
45
// static void buildNodeClusters();
46
// static void dict_assignConnectionsToNodes();
47
static
void
clearDict
();
48
static
int
getMaxID
();
49
protected
:
50
int
myID
;
51
std::string
myName
;
52
53
private
:
54
typedef
std::map<int, NIVissimNodeDef*>
DictType
;
55
static
DictType
myDict
;
56
static
int
myMaxID
;
57
};
31
class
NIVissimNodeDef
{
…
};
Boundary.h
NIVissimExtendedEdgePointVector.h
NIVissimNodeCluster.h
NIVissimNodeDef
Definition
NIVissimNodeDef.h:31
NIVissimNodeDef::clearDict
static void clearDict()
Definition
NIVissimNodeDef.cpp:117
NIVissimNodeDef::myDict
static DictType myDict
Definition
NIVissimNodeDef.h:55
NIVissimNodeDef::~NIVissimNodeDef
virtual ~NIVissimNodeDef()
Definition
NIVissimNodeDef.cpp:46
NIVissimNodeDef::myMaxID
static int myMaxID
Definition
NIVissimNodeDef.h:56
NIVissimNodeDef::myName
std::string myName
Definition
NIVissimNodeDef.h:51
NIVissimNodeDef::dictionary
static bool dictionary(int id, NIVissimNodeDef *o)
Definition
NIVissimNodeDef.cpp:50
NIVissimNodeDef::myID
int myID
Definition
NIVissimNodeDef.h:50
NIVissimNodeDef::buildNodeCluster
int buildNodeCluster()
NIVissimNodeDef::getMaxID
static int getMaxID()
Definition
NIVissimNodeDef.cpp:126
NIVissimNodeDef::getEdgePosition
virtual double getEdgePosition(int edgeid) const =0
NIVissimNodeDef::DictType
std::map< int, NIVissimNodeDef * > DictType
Definition
NIVissimNodeDef.h:54
src
netimport
vissim
tempstructs
NIVissimNodeDef.h
Generated on Fri Jun 20 2025 00:27:49 for Eclipse SUMO - Simulation of Urban MObility by
1.9.8