mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 22:50:21 +00:00
Implements Eigen shortcut
Co-authored-by: Thomas Krijnen <t.krijnen@gmail.com>
This commit is contained in:
committed by
Thomas Krijnen
parent
6f5f7016fe
commit
5482ca145e
@@ -57,9 +57,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcAxis2PlacementLinear* inst)
|
|||||||
// the matrix of orthogonal vectors that define the coordinate system at the point on curve as well as the point on curve
|
// the matrix of orthogonal vectors that define the coordinate system at the point on curve as well as the point on curve
|
||||||
// In other words, the m matrix has everything needed
|
// In other words, the m matrix has everything needed
|
||||||
|
|
||||||
refDirection(0) = m->components().col(1)(0);
|
refDirection = m->components().col(1).head<3>();
|
||||||
refDirection(1) = m->components().col(1)(1);
|
|
||||||
refDirection(2) = m->components().col(1)(2);
|
|
||||||
|
|
||||||
axis(0) = m->components().col(2)(0);
|
axis(0) = m->components().col(2)(0);
|
||||||
axis(1) = m->components().col(2)(1);
|
axis(1) = m->components().col(2)(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user