This bugzilla service is closed. All entries have been migrated to
Bug 1129 - Add asAffine() and asProjective() views to MatrixBase or DenseBase
Summary: Add asAffine() and asProjective() views to MatrixBase or DenseBase
Alias: None
Product: Eigen
Classification: Unclassified
Component: Geometry (show other bugs)
Version: 3.3 (current stable)
Hardware: All All
: Normal Feature Request
Assignee: Nobody
Depends on:
Blocks: 192
  Show dependency treegraph
Reported: 2015-12-08 17:31 UTC by Christoph Hertzberg
Modified: 2019-12-04 15:15 UTC (History)
4 users (show)


Description Christoph Hertzberg 2015-12-08 17:31:36 UTC
As discussed on IRC, this would return a Transform-object (a to-be-created TransformBase, to be exact) without needing to copy the actual matrix.

This would be equivalent to the .matrix() and .array() views already supported by ArrayBase/MatrixBase.

Bug 192 could be solved simultaneously, since Map<Transform<...> >(ptr) would be equivalent to Map<Matrix<...> >(ptr).asAffine().
Comment 1 Christoph Hertzberg 2019-08-28 07:27:03 UTC
We could also add an .asQuaternion() method.
Comment 2 Nobody 2019-12-04 15:15:27 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance:

Note You need to log in before you can comment on or make changes to this bug.