Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Construct n-dimensional rotation matrix. #1366

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

n3vu0r
Copy link
Contributor

@n3vu0r n3vu0r commented Mar 1, 2024

Adds two methods from_arc and from_arc_angle to OMatrix and Rotation based on Lemma 4.1 (Codesido's Rotation Formula) and Simple rotations / Rotation in a two–plane, respectively. Also adds Rotation4/5/6 aliases. For higher dimensions, a rotation axis is ambiguous and instead two vectors spanning the rotation arc seem to be the most intuitive alternative. Both methods are based on the exponential map but have different properties in edge cases as documented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant