56 const std::vector<std::string>& removeByNames);
95 void addLanePos(
const std::string& poiID,
const std::string& laneID,
const double lanePos,
const bool friendlyPos,
const double lanePosLat);
102 void save(
const std::string& file,
bool useGeo);
A class that stores a 2D geometrical boundary.
A storage for options typed value containers)
Static storage of an output device and its base (abstract) implementation.
A storage for loaded polygons and pois.
std::map< std::string, LanePos > myLanePosPois
An id to pos map for lane pos specs.
static void writeDlrTDPHeader(OutputDevice &device, const OptionsCont &oc)
write DLR TDP Header
bool myDoPrune
Information whether the pruning boundary shall be used.
PCPolyContainer & operator=(const PCPolyContainer &s)=delete
Invalidated assignment operator.
~PCPolyContainer()
Destructor.
PCPolyContainer(const PCPolyContainer &s)
Invalidated copy constructor.
void save(const std::string &file, bool useGeo)
Saves the stored polygons and pois into the given file.
bool add(SUMOPolygon *poly, bool ignorePruning=false)
Adds a polygon to the storage.
void saveDlrTDP(const std::string &prefix)
Saves the stored polygons and pois into the given file in dlrTDP format.
std::vector< std::string > myRemoveByNames
List of names of polygons/pois that shall be removed.
std::map< std::string, int > myIDEnums
An id to int map for proper enumeration.
int getEnumIDFor(const std::string &key)
Retuns a unique id for a given name.
void addLanePos(const std::string &poiID, const std::string &laneID, const double lanePos, const bool friendlyPos, const double lanePosLat)
add lane pos
Boundary myPruningBoundary
The boundary that described the rectangle within which an object must be in order to be kept.
Storage for geometrical objects.
double posLat
pos lateral over lane
LanePos()
default constructor
bool friendlyPos
friendly position