Uses of Class
org.apache.commons.geometry.euclidean.threed.rotation.QuaternionRotation
-
Packages that use QuaternionRotation Package Description org.apache.commons.geometry.euclidean.threed This package provides basic 3D geometry components.org.apache.commons.geometry.euclidean.threed.rotation This package provides components related to rotations in 3 dimensional Euclidean space.org.apache.commons.geometry.euclidean.threed.shape This package provides utilities for constructing basic 3D shapes.org.apache.commons.geometry.spherical.twod 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 QuaternionRotation Modifier and Type Method Description static AffineTransformMatrix3DAffineTransformMatrix3D. createRotation(Vector3D center, QuaternionRotation rotation)Create a transform representing a rotation about the given center point.AffineTransformMatrix3DAffineTransformMatrix3D. rotate(QuaternionRotation rotation)Apply a rotation to the current instance, returning the result as a new transform.AffineTransformMatrix3DAffineTransformMatrix3D. rotate(Vector3D center, QuaternionRotation rotation)Apply a rotation around the given center point to the current instance, returning the result as a new transform.EmbeddingPlaneEmbeddingPlane. rotate(Vector3D center, QuaternionRotation rotation)Rotate the plane around the specified point.PlanePlane. 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 QuaternionRotation Modifier and Type Field Description private static 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 QuaternionRotation Modifier and Type Method Description static 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.QuaternionRotationQuaternionRotation. inverse()Get the inverse of this rotation.QuaternionRotationQuaternionRotation. 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.QuaternionRotationQuaternionRotation. 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 QuaternionRotation Modifier and Type Method Description java.util.function.DoubleFunction<QuaternionRotation>QuaternionRotation. 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 QuaternionRotation Modifier and Type Method Description QuaternionRotationQuaternionRotation. multiply(QuaternionRotation q)Multiply this instance by the given argument, returning the result as a new instance.QuaternionRotationQuaternionRotation. premultiply(QuaternionRotation q)Multiply the argument by this instance, returning the result as a new instance.java.util.function.DoubleFunction<QuaternionRotation>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 QuaternionRotation Modifier and Type Field Description private QuaternionRotationParallelepiped.Builder. rotationThe rotation of the parallelepiped.Methods in org.apache.commons.geometry.euclidean.threed.shape with parameters of type QuaternionRotation Modifier and Type Method Description Parallelepiped.BuilderParallelepiped.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 QuaternionRotation Modifier and Type Method Description static Transform2STransform2S. createRotation(QuaternionRotation quaternion)Create a transform that performs the given 3D rotation.Transform2STransform2S. rotate(QuaternionRotation quaternion)Apply the given quaternion rotation to this instance.
-