Quaternion
Overview
Quaternion is a class in Aspose.3D FOSS for Java.
Inherits from: Serializable.
This class declares 9 methods for Quaternion objects in Java programs.
Available methods include: Quaternion, conjugate, fromAngleAxis, fromEulerAngle, getIdentity, multiply, normalize.
Public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: identity.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
identity | Quaternion | Read | Gets the identity. |
Methods
| Signature | Description |
|---|---|
Quaternion() | Calls Quaternion on this Quaternion instance. |
Quaternion(w: double, x: double, y: double, z: double) | Calls Quaternion(w, x, y, z) on this Quaternion instance. |
fromEulerAngle(pitch: double, yaw: double, roll: double) → Quaternion | Calls fromEulerAngle(pitch, yaw, roll) on this Quaternion instance. |
fromAngleAxis(angle: double, axis: Vector3) → Quaternion | Calls fromAngleAxis(angle, axis) on this Quaternion instance. |
getIdentity() → Quaternion | Returns the identity. |
normalize() → Quaternion | Calls normalize on this Quaternion instance. |
conjugate() → Quaternion | Calls conjugate on this Quaternion instance. |
multiply(a: Quaternion, b: Quaternion) → Quaternion | Calls multiply(a, b) on this Quaternion instance. |
multiply(q: Quaternion) → Quaternion | Calls multiply(q) on this Quaternion instance. |