21 #ifndef ShapeHandler_h 22 #define ShapeHandler_h ShapeHandler(const std::string &file, ShapeContainer &sc)
Constructor.
void addPoly(const SUMOSAXAttributes &attrs)
adds a polygon
ShapeHandler & operator=(const ShapeHandler &s)
static bool loadFiles(const std::vector< std::string > &files, ShapeHandler &sh)
loads all of the given files
virtual void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
Storage for geometrical objects.
SAX-handler base for SUMO-files.
The XML-Handler for network loading.
Encapsulated SAX-Attributes.
A point in 2D or 3D with translation and scaling methods.
virtual Position getLanePos(const std::string &poiID, const std::string &laneID, SUMOReal lanePos)=0
get position for a given laneID
virtual ~ShapeHandler()
Destructor.
ShapeContainer & myShapeContainer
void addPOI(const SUMOSAXAttributes &attrs)
adds a polygon