Uses of Class
org.apache.commons.geometry.euclidean.threed.rotation.QuaternionRotation
Packages that use QuaternionRotation
Package
Description
This package provides basic 3D geometry components.
This package provides components related to rotations in 3 dimensional
Euclidean space.
This package provides utilities for constructing basic 3D shapes.
This package provides basic geometry components on the 2-sphere.
-
Uses of QuaternionRotation in org.apache.commons.geometry.euclidean.threed
Methods in org.apache.commons.geometry.euclidean.threed with parameters of type QuaternionRotationModifier and TypeMethodDescriptionstatic AffineTransformMatrix3DAffineTransformMatrix3D.createRotation(Vector3D center, QuaternionRotation rotation) Create a transform representing a rotation about the given center point.AffineTransformMatrix3D.rotate(QuaternionRotation rotation) Apply a rotation to the current instance, returning the result as a new transform.AffineTransformMatrix3D.rotate(Vector3D center, QuaternionRotation rotation) Apply a rotation around the given center point to the current instance, returning the result as a new transform.EmbeddingPlane.rotate(Vector3D center, QuaternionRotation rotation) Rotate the plane around the specified point.Plane.rotate(Vector3D center, QuaternionRotation rotation) Rotate the plane around the specified point. -
Uses of QuaternionRotation in org.apache.commons.geometry.euclidean.threed.rotation
Fields in org.apache.commons.geometry.euclidean.threed.rotation declared as QuaternionRotationModifier and TypeFieldDescriptionprivate static final QuaternionRotationQuaternionRotation.IDENTITY_INSTANCEInstance used to represent the identity rotation, ie a rotation with an angle of zero.Methods in org.apache.commons.geometry.euclidean.threed.rotation that return QuaternionRotationModifier and TypeMethodDescriptionstatic QuaternionRotationQuaternionRotation.createBasisRotation(Vector3D u1, Vector3D u2, Vector3D v1, Vector3D v2) Return an instance that rotates the basis defined by the first two vectors into the basis defined by the second two.static QuaternionRotationQuaternionRotation.createVectorRotation(Vector3D u, Vector3D v) Return an instance that rotates the first vector to the second.static QuaternionRotationQuaternionRotation.fromAxisAngle(Vector3D axis, double angle) Create a new instance representing a rotation ofangleradians aroundaxis.static QuaternionRotationQuaternionRotation.fromAxisAngleSequence(AxisAngleSequence sequence) Create a new instance equivalent to the given sequence of axis-angle rotations.static QuaternionRotationQuaternionRotation.identity()Return an instance representing a rotation of zero.QuaternionRotation.inverse()Get the inverse of this rotation.QuaternionRotation.multiply(QuaternionRotation q) Multiply this instance by the given argument, returning the result as a new instance.static QuaternionRotationQuaternionRotation.of(double w, double x, double y, double z) Create a new instance from the given quaternion values.static QuaternionRotationQuaternionRotation.of(org.apache.commons.numbers.quaternion.Quaternion quat) Create a new instance from the given quaternion.private static QuaternionRotationQuaternionRotation.orthogonalRotationMatrixToQuaternion(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22) Create an instance from an orthogonal rotation matrix.QuaternionRotation.premultiply(QuaternionRotation q) Multiply the argument by this instance, returning the result as a new instance.Methods in org.apache.commons.geometry.euclidean.threed.rotation that return types with arguments of type QuaternionRotationModifier and TypeMethodDescriptionQuaternionRotation.slerp(QuaternionRotation end) Creates a function that performs a spherical linear interpolation between this instance and the argument.Methods in org.apache.commons.geometry.euclidean.threed.rotation with parameters of type QuaternionRotationModifier and TypeMethodDescriptionQuaternionRotation.multiply(QuaternionRotation q) Multiply this instance by the given argument, returning the result as a new instance.QuaternionRotation.premultiply(QuaternionRotation q) Multiply the argument by this instance, returning the result as a new instance.QuaternionRotation.slerp(QuaternionRotation end) Creates a function that performs a spherical linear interpolation between this instance and the argument. -
Uses of QuaternionRotation in org.apache.commons.geometry.euclidean.threed.shape
Fields in org.apache.commons.geometry.euclidean.threed.shape declared as QuaternionRotationModifier and TypeFieldDescriptionprivate QuaternionRotationParallelepiped.Builder.rotationThe rotation of the parallelepiped.Methods in org.apache.commons.geometry.euclidean.threed.shape with parameters of type QuaternionRotationModifier and TypeMethodDescriptionParallelepiped.Builder.setRotation(QuaternionRotation rot) Set the rotation of the created parallelepiped. -
Uses of QuaternionRotation in org.apache.commons.geometry.spherical.twod
Methods in org.apache.commons.geometry.spherical.twod with parameters of type QuaternionRotationModifier and TypeMethodDescriptionstatic Transform2STransform2S.createRotation(QuaternionRotation quaternion) Create a transform that performs the given 3D rotation.Transform2S.rotate(QuaternionRotation quaternion) Apply the given quaternion rotation to this instance.