Skip to content
Snippets Groups Projects
Verified Commit d5e52397 authored by Mohcine Chraibi's avatar Mohcine Chraibi
Browse files

Remove surrounding room

This seems to add more problems that it solves.
Note: The file
parent 07209cee
No related branches found
No related tags found
2 merge requests!15Resolve "Method D | IndividualFD file use wrong PersID",!14Resolve "Method I | new measurement method"
...@@ -204,7 +204,7 @@ std::map<int, polygon_2d> Analysis::ReadGeometry(const fs::path& geometryFile, c ...@@ -204,7 +204,7 @@ std::map<int, polygon_2d> Analysis::ReadGeometry(const fs::path& geometryFile, c
_building->LoadGeometry(geometryFile.string()); _building->LoadGeometry(geometryFile.string());
// create the polygons // create the polygons
_building->InitGeometry(); _building->InitGeometry();
_building->AddSurroundingRoom(); // _building->AddSurroundingRoom();
double geo_minX = FLT_MAX; double geo_minX = FLT_MAX;
double geo_minY = FLT_MAX; double geo_minY = FLT_MAX;
...@@ -216,8 +216,6 @@ std::map<int, polygon_2d> Analysis::ReadGeometry(const fs::path& geometryFile, c ...@@ -216,8 +216,6 @@ std::map<int, polygon_2d> Analysis::ReadGeometry(const fs::path& geometryFile, c
//loop over all areas //loop over all areas
for(auto&& area: areas) for(auto&& area: areas)
{ {
std::cout << "area " << area->_id << "\n";
//search for the subroom that contains that area //search for the subroom that contains that area
for (auto&& it_room : _building->GetAllRooms()) for (auto&& it_room : _building->GetAllRooms())
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment