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 EuclideanTransform
applyVectorMethods inherited from interface 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
-
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:
-