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>
31 #include "NIVissimNodeDef_Edges.h"
32 
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:
46 
47 };
48 
49 
50 #endif
51 
52 /****************************************************************************/
53 
NIVissimNodeDef_Poly(int id, const std::string &name, const PositionVector &poly)
A list of positions.
static bool dictionary(int id, const std::string &name, const PositionVector &poly)