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