Interface Rotation3D
- All Superinterfaces:
EuclideanTransform<Vector3D>
,Function<Vector3D,
,Vector3D> Transform<Vector3D>
,UnaryOperator<Vector3D>
- All Known Implementing Classes:
QuaternionRotation
Interface representing a generic rotation in 3-dimensional Euclidean
space.
-
Method Summary
Methods inherited from interface org.apache.commons.geometry.euclidean.EuclideanTransform
applyVector
Methods inherited from interface org.apache.commons.geometry.core.Transform
preservesOrientation
-
Method Details
-
apply
Apply this rotation to the given argument. Since rotations do not affect vector magnitudes, this method can be applied to both points and vectors. -
inverse
Rotation3D inverse()Get the inverse rotation. -
getAxis
Vector3D getAxis()Get the axis of rotation as a normalizedVector3D
.All 3-dimensional rotations and sequences of rotations can be reduced to a single rotation around one axis. This method returns that axis.
- Returns:
- the axis of rotation
- See Also:
-
getAngle
double getAngle()Get the angle of rotation in radians.All 3-dimensional rotations and sequences of rotations can be reduced to a single rotation around one axis. This method returns the angle of rotation around that axis.
- Returns:
- angle of rotation in radians.
- See Also:
-