22 #ifndef PCPolyContainer_h 23 #define PCPolyContainer_h 60 const std::vector<std::string>& removeByNames);
99 void addLanePos(
const std::string& poiID,
const std::string& laneID,
double lanePos);
106 void save(
const std::string& file,
bool useGeo);
PCPolyContainer(bool prune, const Boundary &pruningBoundary, const std::vector< std::string > &removeByNames)
Constructor.
void saveDlrTDP(const std::string &prefix)
Saves the stored polygons and pois into the given file in dlrTDP format.
void save(const std::string &file, bool useGeo)
Saves the stored polygons and pois into the given file.
Storage for geometrical objects.
A class that stores a 2D geometrical boundary.
A storage for loaded polygons and pois.
Boundary myPruningBoundary
The boundary that described the rectangle within which an object must be in order to be kept...
PCPolyContainer & operator=(const PCPolyContainer &s)
Invalidated assignment operator.
~PCPolyContainer()
Destructor.
std::map< std::string, int > myIDEnums
An id to int map for proper enumeration.
bool add(SUMO::Polygon *poly, bool ignorePruning=false)
Adds a polygon to the storage.
int getEnumIDFor(const std::string &key)
Retuns a unique id for a given name.
void addLanePos(const std::string &poiID, const std::string &laneID, double lanePos)
A storage for options typed value containers)
std::vector< std::string > myRemoveByNames
List of names of polygons/pois that shall be removed.
Static storage of an output device and its base (abstract) implementation.
std::map< std::string, std::pair< std::string, double > > myLanePosPois
An id to pos map for lane pos specs.
bool myDoPrune
Information whether the pruning boundary shall be used.
static void writeDlrTDPHeader(OutputDevice &device, const OptionsCont &oc)