mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-20 20:22:09 +00:00
First rough draft of alignment-based IfcFixedReferenceSweptAreaSolid
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user