Package org.arakhne.afc.math.geometry.d3
Class Quaternion.AxisAngle
- java.lang.Object
-
- org.arakhne.afc.math.geometry.d3.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.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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getAngle()
Replies the rotation angle.Vector3D<?,?>
getAxis()
Replies the rotation axis.
-
-
-
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.
-
-