Eclipse SUMO - Simulation of Urban MObility
NIVissimBoundedClusterObject.h
Go to the documentation of this file.
1
/****************************************************************************/
2
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3
// Copyright (C) 2001-2019 German Aerospace Center (DLR) and others.
4
// This program and the accompanying materials
5
// are made available under the terms of the Eclipse Public License v2.0
6
// which accompanies this distribution, and is available at
7
// http://www.eclipse.org/legal/epl-v20.html
8
// SPDX-License-Identifier: EPL-2.0
9
/****************************************************************************/
15
// -------------------
16
/****************************************************************************/
17
#ifndef NIVissimBoundedClusterObject_h
18
#define NIVissimBoundedClusterObject_h
19
20
21
// ===========================================================================
22
// included modules
23
// ===========================================================================
24
#include <
config.h
>
25
26
#include <set>
27
#include <string>
28
29
30
// ===========================================================================
31
// class declarations
32
// ===========================================================================
33
class
Boundary
;
34
35
// ===========================================================================
36
// class definitions
37
// ===========================================================================
41
class
NIVissimBoundedClusterObject
{
42
public
:
43
NIVissimBoundedClusterObject
();
44
virtual
~NIVissimBoundedClusterObject
();
45
virtual
void
computeBounding
() = 0;
46
bool
crosses
(
const
AbstractPoly
& poly,
double
offset = 0)
const
;
47
void
inCluster
(
int
id
);
48
bool
clustered
()
const
;
49
const
Boundary
&
getBoundary
()
const
;
50
public
:
51
static
void
closeLoading
();
52
protected
:
53
typedef
std::set<NIVissimBoundedClusterObject*>
ContType
;
54
static
ContType
myDict
;
55
Boundary
*
myBoundary
;
56
int
myClusterID
;
57
};
58
59
60
#endif
61
62
/****************************************************************************/
63
AbstractPoly
Definition:
AbstractPoly.h:36
NIVissimBoundedClusterObject::myClusterID
int myClusterID
Definition:
NIVissimBoundedClusterObject.h:56
NIVissimBoundedClusterObject::NIVissimBoundedClusterObject
NIVissimBoundedClusterObject()
Definition:
NIVissimBoundedClusterObject.cpp:31
NIVissimBoundedClusterObject::~NIVissimBoundedClusterObject
virtual ~NIVissimBoundedClusterObject()
Definition:
NIVissimBoundedClusterObject.cpp:37
NIVissimBoundedClusterObject::ContType
std::set< NIVissimBoundedClusterObject * > ContType
Definition:
NIVissimBoundedClusterObject.h:53
NIVissimBoundedClusterObject
Definition:
NIVissimBoundedClusterObject.h:41
Boundary
A class that stores a 2D geometrical boundary.
Definition:
Boundary.h:42
NIVissimBoundedClusterObject::clustered
bool clustered() const
Definition:
NIVissimBoundedClusterObject.cpp:57
NIVissimBoundedClusterObject::computeBounding
virtual void computeBounding()=0
NIVissimBoundedClusterObject::crosses
bool crosses(const AbstractPoly &poly, double offset=0) const
Definition:
NIVissimBoundedClusterObject.cpp:43
NIVissimBoundedClusterObject::myBoundary
Boundary * myBoundary
Definition:
NIVissimBoundedClusterObject.h:55
NIVissimBoundedClusterObject::closeLoading
static void closeLoading()
Definition:
NIVissimBoundedClusterObject.cpp:63
NIVissimBoundedClusterObject::inCluster
void inCluster(int id)
Definition:
NIVissimBoundedClusterObject.cpp:51
NIVissimBoundedClusterObject::myDict
static ContType myDict
Definition:
NIVissimBoundedClusterObject.h:54
config.h
NIVissimBoundedClusterObject::getBoundary
const Boundary & getBoundary() const
Definition:
NIVissimBoundedClusterObject.cpp:71
src
netimport
vissim
tempstructs
NIVissimBoundedClusterObject.h
Generated on Wed Jan 15 2020 15:04:13 for Eclipse SUMO - Simulation of Urban MObility by
1.8.16