First rough draft of alignment-based IfcFixedReferenceSweptAreaSolid

This commit is contained in:
Thomas Krijnen
2024-02-21 11:33:40 +01:00
parent ebe6015561
commit d06280f0e7
7 changed files with 214 additions and 92 deletions
+5
View File
@@ -41,6 +41,7 @@
#include "OpenCascadeKernel.h"
#include "face_definition.h"
#include "wire_utils.h"
#include "base_utils.h"
using namespace ifcopenshell::geometry;
using namespace ifcopenshell::geometry::kernels;
@@ -297,6 +298,10 @@ bool OpenCascadeKernel::convert(const taxonomy::face::ptr face, TopoDS_Shape& re
result = face_list.First();
}
if (face->matrix) {
result = apply_transformation(result, *face->matrix);
}
return true;
}