nalgebra icon indicating copy to clipboard operation
nalgebra copied to clipboard

Construct n-dimensional rotation matrix.

Open n3vu0r opened this issue 1 year ago • 0 comments

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.

n3vu0r avatar Mar 01 '24 19:03 n3vu0r