From 11deb955f8b03e72fb9d5a756ac1bcf4a007fdcd Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Tue, 24 Sep 2024 13:04:58 +0200 Subject: [PATCH] Fix ellipse major < minor workaround #5470 --- src/ifcgeom/mapping/IfcEllipse.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ifcgeom/mapping/IfcEllipse.cpp b/src/ifcgeom/mapping/IfcEllipse.cpp index 1d1e70e303..8d79068aa4 100644 --- a/src/ifcgeom/mapping/IfcEllipse.cpp +++ b/src/ifcgeom/mapping/IfcEllipse.cpp @@ -41,8 +41,8 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcEllipse* inst) { // @todo is a copy necesary here or can this be done in place? auto m4_copy = *el->matrix; el->matrix->components() << - -m4_copy.components().col(1), - m4_copy.components().col(0), + m4_copy.components().col(1), + -m4_copy.components().col(0), m4_copy.components().col(2), m4_copy.components().col(3); std::swap(x, y);