Eclipse 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-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 NIVissimNodeDef_Poly_h
18 #define NIVissimNodeDef_Poly_h
19 
20 
21 // ===========================================================================
22 // included modules
23 // ===========================================================================
24 #include <config.h>
25 
26 
27 #include <string>
28 #include <map>
30 #include "NIVissimNodeDef_Edges.h"
31 
33  public NIVissimNodeDef_Edges {
34 public:
35  NIVissimNodeDef_Poly(int id, const std::string& name,
36  const PositionVector& poly);
37  virtual ~NIVissimNodeDef_Poly();
38  static bool dictionary(int id, const std::string& name,
39  const PositionVector& poly);
40 // virtual void computeBounding();
41 // double getEdgePosition(int edgeid) const;
42 // void searchAndSetConnections(double offset);
43 private:
45 
46 };
47 
48 
49 #endif
50 
51 /****************************************************************************/
52 
PositionVector
A list of positions.
Definition: PositionVector.h:45
NIVissimNodeDef_Edges.h
NIVissimNodeDef_Edges
Definition: NIVissimNodeDef_Edges.h:33
NIVissimNodeDef_Poly::myPoly
PositionVector myPoly
Definition: NIVissimNodeDef_Poly.h:44
NIVissimNodeDef_Poly::NIVissimNodeDef_Poly
NIVissimNodeDef_Poly(int id, const std::string &name, const PositionVector &poly)
Definition: NIVissimNodeDef_Poly.cpp:41
NIVissimNodeDef_Poly
Definition: NIVissimNodeDef_Poly.h:33
config.h
NIVissimNodeDef_Poly::~NIVissimNodeDef_Poly
virtual ~NIVissimNodeDef_Poly()
Definition: NIVissimNodeDef_Poly.cpp:47
NIVissimNodeDef_Poly::dictionary
static bool dictionary(int id, const std::string &name, const PositionVector &poly)
Definition: NIVissimNodeDef_Poly.cpp:51
PositionVector.h