22 #ifndef PCPolyContainer_h 23 #define PCPolyContainer_h 60 const std::vector<std::string>& removeByNames);
82 bool insert(
const std::string&
id,
Polygon* poly,
int layer,
83 bool ignorePruning =
false);
102 bool ignorePruning =
false);
109 return (
unsigned int) myPolyCont.size();
117 return (
unsigned int) myPOICont.size();
136 bool containsPolygon(
const std::string& kidey);
144 void save(
const std::string& file,
bool useGeo);
155 int getEnumIDFor(
const std::string& key);
165 typedef std::map<std::string, PointOfInterest*>
POICont;
unsigned int getNoPOIs()
Returns the number of stored pois.
POICont myPOICont
The poi container, accessed by the pois' ids.
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...
unsigned int getNoPolygons()
Returns the number of stored polygons.
std::map< std::string, int > myIDEnums
An id to int map for proper enumeration.
std::map< std::string, Polygon * > PolyCont
Definition of a container of polygons, accessed by the string key.
std::map< PointOfInterest *, int > myPOILayerMap
A map from pois to the layers they are located in.
std::map< Polygon *, int > myPolyLayerMap
A map from polygons to the layers they are located in.
std::vector< std::string > myRemoveByNames
List of names of polygons/pois that shall be removed.
std::map< std::string, PointOfInterest * > POICont
Definition of a container of pois, accessed by the string key.
PolyCont myPolyCont
The polygon container, accessed by the polygons' ids.
bool myDoPrune
Information whether the pruning boundary shall be used.