moved from ray3 to floorplan/3D
worked on new wall models refactoring
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
|
||||
#include "Floorplan.h"
|
||||
#include "../../geo/BBox2.h"
|
||||
#include "../../wifi/estimate/ray3/ModelFactory.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
@@ -147,12 +146,13 @@ namespace Floorplan {
|
||||
res.push_back(Issue(Type::ERR, floor, "' door is too narrow: " + std::to_string(len_m) + " meter from " + door->from.asString() + " to " + door->to.asString()));
|
||||
}
|
||||
|
||||
try {
|
||||
Ray3D::ModelFactory fac(map);
|
||||
fac.getDoorAbove(floor, door);
|
||||
} catch (Exception e) {
|
||||
res.push_back(Issue(Type::ERR, floor, std::string(e.what()) + "[from" + door->from.asString() + " to " + door->to.asString() + "]"));
|
||||
}
|
||||
#warning "TODO!"
|
||||
// try {
|
||||
// Ray3D::ModelFactory fac(map);
|
||||
// fac.getDoorAbove(floor, door);
|
||||
// } catch (Exception e) {
|
||||
// res.push_back(Issue(Type::ERR, floor, std::string(e.what()) + "[from" + door->from.asString() + " to " + door->to.asString() + "]"));
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user