From d5e523972fabccdbfed2413686894fb9ebdb30f8 Mon Sep 17 00:00:00 2001 From: Mohcine Chraibi <m.chraibi@fz-juelich.de> Date: Thu, 28 Feb 2019 18:50:30 +0100 Subject: [PATCH] Remove surrounding room This seems to add more problems that it solves. Note: The file --- Analysis.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Analysis.cpp b/Analysis.cpp index 4c862afb..70a77ff0 100644 --- a/Analysis.cpp +++ b/Analysis.cpp @@ -204,7 +204,7 @@ std::map<int, polygon_2d> Analysis::ReadGeometry(const fs::path& geometryFile, c _building->LoadGeometry(geometryFile.string()); // create the polygons _building->InitGeometry(); - _building->AddSurroundingRoom(); + // _building->AddSurroundingRoom(); double geo_minX = FLT_MAX; double geo_minY = FLT_MAX; @@ -216,8 +216,6 @@ std::map<int, polygon_2d> Analysis::ReadGeometry(const fs::path& geometryFile, c //loop over all areas for(auto&& area: areas) { - std::cout << "area " << area->_id << "\n"; - //search for the subroom that contains that area for (auto&& it_room : _building->GetAllRooms()) { -- GitLab