mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 22:33:33 +00:00
Implements Eigen shortcut
Co-authored-by: Thomas Krijnen <t.krijnen@gmail.com>
This commit is contained in:
@@ -59,9 +59,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcAxis2PlacementLinear* inst)
|
|||||||
|
|
||||||
refDirection = m->components().col(1).head<3>();
|
refDirection = m->components().col(1).head<3>();
|
||||||
|
|
||||||
axis(0) = m->components().col(2)(0);
|
axis = m->components().col(2).head<3>();
|
||||||
axis(1) = m->components().col(2)(1);
|
|
||||||
axis(2) = m->components().col(2)(2);
|
|
||||||
}
|
}
|
||||||
return taxonomy::make<taxonomy::matrix4>(o, axis, refDirection);
|
return taxonomy::make<taxonomy::matrix4>(o, axis, refDirection);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user