This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
Bug 1625 - Implement fast 3D orthonormal basis from a single vector
Summary: Implement fast 3D orthonormal basis from a single vector
Status: CONFIRMED
Alias: None
Product: Eigen
Classification: Unclassified
Component: Geometry (show other bugs)
Version: unspecified
Hardware: All All
: Normal Feature Request
Assignee: Nobody
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-19 09:42 UTC by Gael Guennebaud
Modified: 2019-12-04 18:08 UTC (History)
4 users (show)



Attachments

Description Gael Guennebaud 2018-11-19 09:42:01 UTC
A faster complement to:

u1 = ...
u2 = u1.unitOrthogonal();
u3 = u1.cross(u2);

following this paper: http://jcgt.org/published/0006/01/01/
Comment 1 Christoph Hertzberg 2018-11-20 15:37:06 UTC
Sure, why not. 
Any suggestion for naming that function? And should it be a free function or a static member of some class?
And is there an algorithm to efficiently calculate a corresponding Quaternion as well?

Somewhat related is Bug 17 (creation of a lookAt transformation) -- at least I would look for both functions in the same module.
Comment 2 Nobody 2019-12-04 18:08:21 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/1625.

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