This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen

Bug 1129

Summary: Add asAffine() and asProjective() views to MatrixBase or DenseBase
Product: Eigen Reporter: Christoph Hertzberg <chtz>
Component: GeometryAssignee: Nobody <eigen.nobody>
Status: CONFIRMED ---    
Severity: Feature Request CC: chtz, gael.guennebaud, hauke.heibel, jacob.benoit.1
Priority: Normal    
Version: 3.3 (current stable)   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 192    

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 gitlab.com'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: https://gitlab.com/libeigen/eigen/issues/1129.