SUMO - Simulation of Urban MObility
NIVissimNodeDef_Poly.h
Go to the documentation of this file.
00001 /****************************************************************************/
00008 // -------------------
00009 /****************************************************************************/
00010 // SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
00011 // Copyright (C) 2001-2012 DLR (http://www.dlr.de/) and contributors
00012 /****************************************************************************/
00013 //
00014 //   This file is part of SUMO.
00015 //   SUMO is free software: you can redistribute it and/or modify
00016 //   it under the terms of the GNU General Public License as published by
00017 //   the Free Software Foundation, either version 3 of the License, or
00018 //   (at your option) any later version.
00019 //
00020 /****************************************************************************/
00021 #ifndef NIVissimNodeDef_Poly_h
00022 #define NIVissimNodeDef_Poly_h
00023 
00024 
00025 // ===========================================================================
00026 // included modules
00027 // ===========================================================================
00028 #ifdef _MSC_VER
00029 #include <windows_config.h>
00030 #else
00031 #include <config.h>
00032 #endif
00033 
00034 
00035 #include <string>
00036 #include <map>
00037 #include <utils/geom/PositionVector.h>
00038 #include "NIVissimNodeDef_Edges.h"
00039 
00040 class NIVissimNodeDef_Poly :
00041     public NIVissimNodeDef_Edges {
00042 public:
00043     NIVissimNodeDef_Poly(int id, const std::string& name,
00044                          const PositionVector& poly);
00045     virtual ~NIVissimNodeDef_Poly();
00046     static bool dictionary(int id, const std::string& name,
00047                            const PositionVector& poly);
00048 //    virtual void computeBounding();
00049 //    SUMOReal getEdgePosition(int edgeid) const;
00050     void searchAndSetConnections(SUMOReal offset);
00051 private:
00052     PositionVector myPoly;
00053 
00054 };
00055 
00056 
00057 #endif
00058 
00059 /****************************************************************************/
00060 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines