mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
Fix ellipse major < minor workaround #5470
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user