Class Quaternion.AxisAngle

  • All Implemented Interfaces:
    Serializable, Cloneable
    Enclosing interface:
    Quaternion

    public static final class Quaternion.AxisAngle
    extends Object
    implements Cloneable, Serializable
    A representation of axis-angle. The axis–angle representation of a rotation parameterizes a rotation in a three-dimensional Euclidean space by two values: a unit vector, indicating the direction of an axis of rotation, and an angle describing the magnitude of the rotation about the axis. The rotation occurs in the sense prescribed by the (left/right)-hand rule. [Axis-Angle Representation]

    For creating an instance of this class, you must invoke Quaternion.getAxisAngle().

    Version:
    Geometry Tools $Revision$ 2020-01-04 14:41:43
    Author:
    Stéphane GALLAND
    See Also:
    Serialized Form
    Maven Group Id:
    org.arakhne.afc.core
    Maven Artifact Id:
    mathgeom
    • Method Detail

      • getAxis

        @Pure
        public Vector3D<?,​?> getAxis()
        Replies the rotation axis.
        Returns:
        the rotation axis.
      • getAngle

        @Pure
        public double getAngle()
        Replies the rotation angle.
        Returns:
        the rotation angle.