added code for advanced sample impoverishment using the mesh

This commit is contained in:
toni
2018-05-15 10:03:49 +02:00
parent 628aafaecd
commit d0b01b377d
11 changed files with 622 additions and 10 deletions

View File

@@ -140,13 +140,13 @@ namespace NM {
// line-obstacles
Floorplan::FloorObstacleLine* line = dynamic_cast<Floorplan::FloorObstacleLine*>(obs);
if (line != nullptr) {
nmPoly.remove(getPolygon(line));
nmPoly.remove(getPolygon(line));
}
// object-obstacles
Floorplan::FloorObstacleObject* obj = dynamic_cast<Floorplan::FloorObstacleObject*>(obs);
if (obj != nullptr) {
nmPoly.remove(getPolygon(obj));
nmPoly.remove(getPolygon(obj));
}
}