SUMO - Simulation of Urban MObility
NIVissimNodeDef_Poly.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-2018 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
/****************************************************************************/
16
// -------------------
17
/****************************************************************************/
18
#ifndef NIVissimNodeDef_Poly_h
19
#define NIVissimNodeDef_Poly_h
20
21
22
// ===========================================================================
23
// included modules
24
// ===========================================================================
25
#include <
config.h
>
26
27
28
#include <string>
29
#include <map>
30
#include <
utils/geom/PositionVector.h
>
31
#include "
NIVissimNodeDef_Edges.h
"
32
33
class
NIVissimNodeDef_Poly
:
34
public
NIVissimNodeDef_Edges
{
35
public
:
36
NIVissimNodeDef_Poly
(
int
id
,
const
std::string& name,
37
const
PositionVector
& poly);
38
virtual
~NIVissimNodeDef_Poly
();
39
static
bool
dictionary
(
int
id
,
const
std::string& name,
40
const
PositionVector
& poly);
41
// virtual void computeBounding();
42
// double getEdgePosition(int edgeid) const;
43
// void searchAndSetConnections(double offset);
44
private
:
45
PositionVector
myPoly
;
46
47
};
48
49
50
#endif
51
52
/****************************************************************************/
53
NIVissimNodeDef_Poly::NIVissimNodeDef_Poly
NIVissimNodeDef_Poly(int id, const std::string &name, const PositionVector &poly)
Definition:
NIVissimNodeDef_Poly.cpp:42
config.h
NIVissimNodeDef_Poly::myPoly
PositionVector myPoly
Definition:
NIVissimNodeDef_Poly.h:45
PositionVector.h
PositionVector
A list of positions.
Definition:
PositionVector.h:46
NIVissimNodeDef_Poly
Definition:
NIVissimNodeDef_Poly.h:33
NIVissimNodeDef_Edges.h
NIVissimNodeDef_Poly::~NIVissimNodeDef_Poly
virtual ~NIVissimNodeDef_Poly()
Definition:
NIVissimNodeDef_Poly.cpp:48
NIVissimNodeDef_Edges
Definition:
NIVissimNodeDef_Edges.h:33
NIVissimNodeDef_Poly::dictionary
static bool dictionary(int id, const std::string &name, const PositionVector &poly)
Definition:
NIVissimNodeDef_Poly.cpp:52
src
netimport
vissim
tempstructs
NIVissimNodeDef_Poly.h
Generated on Sun Feb 3 2019 09:17:52 for SUMO - Simulation of Urban MObility by
1.8.13