Merge branch 'IfcOpenShell:v0.8.0' into v0.8.0

This commit is contained in:
Richard Brice
2023-12-01 07:22:29 -08:00
committed by GitHub
5 changed files with 32 additions and 12 deletions
+8
View File
@@ -1,3 +1,4 @@
#include "../ifcparse/IfcLogger.h"
#include "taxonomy.h"
#include "profile_helper.h"
@@ -478,6 +479,13 @@ ifcopenshell::geometry::taxonomy::item::ptr ifcopenshell::geometry::taxonomy::pi
polygon.push_back(taxonomy::make<taxonomy::point3>(m.col(3)(0), m.col(3)(1), m.col(3)(2)));
}
// @nb temporary debugging - can be removed later.
std::ostringstream oss;
for (auto it = polygon.begin(); it != polygon.end() && std::distance(polygon.begin(), it) < 5; ++it) {
(**it).print(oss);
}
Logger::Notice("Evaluated points: " + oss.str(), instance);
return polygon_from_points(polygon);
}