Skip to content

Commit

Permalink
Change transform mode from AffineCompact to Isometry (#318)
Browse files Browse the repository at this point in the history
This increases the memory footprint of the `Transform` class by 33% (ie.,
3x4 to 4x4). However, the X_AB.inverse() method will now implicitly use
the transpose of the linear() component rather than computing an inverse.
  • Loading branch information
SeanCurtis-TRI authored Aug 4, 2018
1 parent 8d7dc8f commit a278363
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* Math

* Switched to Eigen for math operations: [#96](https://github.com/flexible-collision-library/fcl/issues/96), [#150](https://github.com/flexible-collision-library/fcl/pull/150)
* fcl::Transform defined to be an Isometry to facilitate inverses [#318](https://github.com/flexible-collision-library/fcl/pull/318)

* Broadphase

Expand Down
2 changes: 1 addition & 1 deletion include/fcl/common/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ template <typename S>
using Quaternion = Eigen::Quaternion<S>;

template <typename S>
using Transform3 = Eigen::Transform<S, 3, Eigen::AffineCompact>;
using Transform3 = Eigen::Transform<S, 3, Eigen::Isometry>;

template <typename S>
using Translation3 = Eigen::Translation<S, 3>;
Expand Down

0 comments on commit a278363

Please sign in to comment.