Fix ellipse major < minor workaround #5470

This commit is contained in:
Thomas Krijnen
2024-09-24 13:04:58 +02:00
parent 036754ea20
commit 11deb955f8
+2 -2
View File
@@ -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? // @todo is a copy necesary here or can this be done in place?
auto m4_copy = *el->matrix; auto m4_copy = *el->matrix;
el->matrix->components() << el->matrix->components() <<
-m4_copy.components().col(1), m4_copy.components().col(1),
m4_copy.components().col(0), -m4_copy.components().col(0),
m4_copy.components().col(2), m4_copy.components().col(2),
m4_copy.components().col(3); m4_copy.components().col(3);
std::swap(x, y); std::swap(x, y);