Refactoring

This commit is contained in:
Thomas Krijnen
2022-11-13 11:04:16 +01:00
parent 6558f68cd4
commit 3736a8b4b4
28 changed files with 849 additions and 1105 deletions
+3 -2
View File
@@ -78,6 +78,7 @@
#include <Extrema_ExtPElS.hxx>
#include "../ifcparse/IfcGlobalId.h"
#include "../ifcgeom_schema_agnostic/base_utils.h"
#include <boost/format.hpp>
#include <boost/tokenizer.hpp>
@@ -439,7 +440,7 @@ namespace {
return boost::none;
}
if (IfcGeom::Kernel::count(shell, TopAbs_FACE) != 6) {
if (IfcGeom::util::count(shell, TopAbs_FACE) != 6) {
return boost::none;
}
@@ -1442,7 +1443,7 @@ void SvgSerializer::write(const geometry_data& data) {
}
if (file && data.product->declaration().is("IfcBuildingStorey") && storey_height_display_ != SH_NONE && wires->Length() == 1 && IfcGeom::Kernel::count(wire, TopAbs_EDGE) == 1) {
if (file && data.product->declaration().is("IfcBuildingStorey") && storey_height_display_ != SH_NONE && wires->Length() == 1 && IfcGeom::util::count(wire, TopAbs_EDGE) == 1) {
std::string elev_str;