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 AffineTransformMatrix3D
AffineTransformMatrix3D. createRotation(Vector3D center, QuaternionRotation rotation)
Create a transform representing a rotation about the given center point.AffineTransformMatrix3D
AffineTransformMatrix3D. rotate(QuaternionRotation rotation)
Apply a rotation to the current instance, returning the result as a new transform.AffineTransformMatrix3D
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
EmbeddingPlane. rotate(Vector3D center, QuaternionRotation rotation)
Rotate the plane around the specified point.Plane
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 QuaternionRotation Modifier and Type Field Description private static QuaternionRotation
QuaternionRotation. IDENTITY_INSTANCE
Instance 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 QuaternionRotation
QuaternionRotation. 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 QuaternionRotation
QuaternionRotation. createVectorRotation(Vector3D u, Vector3D v)
Return an instance that rotates the first vector to the second.static QuaternionRotation
QuaternionRotation. fromAxisAngle(Vector3D axis, double angle)
Create a new instance representing a rotation ofangle
radians aroundaxis
.static QuaternionRotation
QuaternionRotation. fromAxisAngleSequence(AxisAngleSequence sequence)
Create a new instance equivalent to the given sequence of axis-angle rotations.static QuaternionRotation
QuaternionRotation. identity()
Return an instance representing a rotation of zero.QuaternionRotation
QuaternionRotation. inverse()
Get the inverse of this rotation.QuaternionRotation
QuaternionRotation. multiply(QuaternionRotation q)
Multiply this instance by the given argument, returning the result as a new instance.static QuaternionRotation
QuaternionRotation. of(double w, double x, double y, double z)
Create a new instance from the given quaternion values.static QuaternionRotation
QuaternionRotation. of(org.apache.commons.numbers.quaternion.Quaternion quat)
Create a new instance from the given quaternion.private static QuaternionRotation
QuaternionRotation. 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
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 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 QuaternionRotation
QuaternionRotation. multiply(QuaternionRotation q)
Multiply this instance by the given argument, returning the result as a new instance.QuaternionRotation
QuaternionRotation. 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 QuaternionRotation
Parallelepiped.Builder. rotation
The rotation of the parallelepiped.Methods in org.apache.commons.geometry.euclidean.threed.shape with parameters of type QuaternionRotation Modifier and Type Method Description Parallelepiped.Builder
Parallelepiped.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 Transform2S
Transform2S. createRotation(QuaternionRotation quaternion)
Create a transform that performs the given 3D rotation.Transform2S
Transform2S. rotate(QuaternionRotation quaternion)
Apply the given quaternion rotation to this instance.
-