42 #ifdef CHECK_MEMORY_LEAKS
44 #endif // CHECK_MEMORY_LEAKS
50 using namespace traci;
76 std::vector<std::string> ids;
88 Polygon* p = getPolygon(
id, layer);
108 for (
unsigned int iPoint = 0; iPoint < MIN2(static_cast<size_t>(255), p->
getShape().
size()); ++iPoint) {
130 std::string warning =
"";
134 && variable !=
ADD && variable !=
REMOVE) {
143 if (variable !=
ADD && variable !=
REMOVE) {
144 p = getPolygon(
id, layer);
182 for (
unsigned int i = 0; i < noEntries; ++i) {
233 layer = inputStorage.
readInt();
241 for (
unsigned int i = 0; i < noEntries; ++i) {
260 layer = inputStorage.
readInt();
278 Polygon* poly = getPolygon(
id, layer);
299 for (std::map<std::string, Polygon*>::const_iterator i = polygons.begin(); i != polygons.end(); ++i) {
300 Boundary b = (*i).second->getShape().getBoxBoundary();