| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final double | |
| pack-priv static final double | |
| pack-priv static final double | |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public | Quat4d(double
the x coordinate x, double the y coordinate y, double the z coordinate z, double the w scalar component w)Constructs and initializes a Quat4d from the specified xyzw coordinates. |
| public | Quat4d(double[]
the array of length 4 containing xyzw in order q)Constructs and initializes a Quat4d from the array of length 4. |
| public | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final void | |
| public final void | |
| public final void | interpolate(Quat4d
the other quaternion q1, double the alpha interpolation parameter alpha)Performs a great circle interpolation between this quaternion and the quaternion parameter and places the result into this quaternion. |
| public final void | interpolate(Quat4d
the first quaternion q1, Quat4d the second quaternion q2, double the alpha interpolation parameter alpha)Performs a great circle interpolation between quaternion q1 and quaternion q2 and places the result into this quaternion. |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | mulInverse(Quat4d
the first quaternion q1, Quat4d the second quaternion q2)Multiplies quaternion q1 by the inverse of quaternion q2 and places the value into this quaternion. |
| public final void | mulInverse(Quat4d
the other quaternion q1)Multiplies this quaternion by the inverse of quaternion q1 and places the value into this quaternion. |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | set(AxisAngle4f
the AxisAngle to be emulated a)Sets the value of this quaternion to the equivalent rotation of the AxisAngle argument. |
| public final void | set(AxisAngle4d
the AxisAngle to be emulated a)Sets the value of this quaternion to the equivalent rotation of the AxisAngle argument. |
| EPS | back to summary |
|---|---|
| pack-priv static final double EPS | |
| EPS2 | back to summary |
|---|---|
| pack-priv static final double EPS2 | |
| PIO2 | back to summary |
|---|---|
| pack-priv static final double PIO2 | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| Quat4d | back to summary |
|---|---|
| public Quat4d(double x, double y, double z, double w) Constructs and initializes a Quat4d from the specified xyzw coordinates.
| |
| Quat4d | back to summary |
|---|---|
| public Quat4d(double[] q) Constructs and initializes a Quat4d from the array of length 4.
| |
| Quat4d | back to summary |
|---|---|
| public Quat4d(Quat4d q1) Constructs and initializes a Quat4d from the specified Quat4d.
| |
| Quat4d | back to summary |
|---|---|
| public Quat4d(Quat4f q1) Constructs and initializes a Quat4d from the specified Quat4f.
| |
| Quat4d | back to summary |
|---|---|
| public Quat4d(Tuple4f t1) Constructs and initializes a Quat4d from the specified Tuple4f.
| |
| Quat4d | back to summary |
|---|---|
| public Quat4d(Tuple4d t1) Constructs and initializes a Quat4d from the specified Tuple4d.
| |
| Quat4d | back to summary |
|---|---|
| public Quat4d() Constructs and initializes a Quat4d to (0,0,0,0). | |
| conjugate | back to summary |
|---|---|
| public final void conjugate(Quat4d q1) Sets the value of this quaternion to the conjugate of quaternion q1.
| |
| conjugate | back to summary |
|---|---|
| public final void conjugate() Negate the value of of each of this quaternion's x,y,z coordinates in place. | |
| interpolate | back to summary |
|---|---|
| public final void interpolate(Quat4d q1, double alpha) Performs a great circle interpolation between this quaternion and the quaternion parameter and places the result into this quaternion.
| |
| interpolate | back to summary |
|---|---|
| public final void interpolate(Quat4d q1, Quat4d q2, double alpha) Performs a great circle interpolation between quaternion q1 and quaternion q2 and places the result into this quaternion. | |
| inverse | back to summary |
|---|---|
| public final void inverse(Quat4d q1) Sets the value of this quaternion to quaternion inverse of quaternion q1.
| |
| inverse | back to summary |
|---|---|
| public final void inverse() Sets the value of this quaternion to the quaternion inverse of itself. | |
| mul | back to summary |
|---|---|
| public final void mul(Quat4d q1, Quat4d q2) Sets the value of this quaternion to the quaternion product of quaternions q1 and q2 (this = q1 * q2). Note that this is safe for aliasing (e.g. this can be q1 or q2). | |
| mul | back to summary |
|---|---|
| public final void mul(Quat4d q1) Sets the value of this quaternion to the quaternion product of itself and q1 (this = this * q1).
| |
| mulInverse | back to summary |
|---|---|
| public final void mulInverse(Quat4d q1, Quat4d q2) Multiplies quaternion q1 by the inverse of quaternion q2 and places the value into this quaternion. The value of both argument quaternions is preservered (this = q1 * q2^-1). | |
| mulInverse | back to summary |
|---|---|
| public final void mulInverse(Quat4d q1) Multiplies this quaternion by the inverse of quaternion q1 and places the value into this quaternion. The value of the argument quaternion is preserved (this = this * q^-1).
| |
| normalize | back to summary |
|---|---|
| public final void normalize(Quat4d q1) Sets the value of this quaternion to the normalized value of quaternion q1.
| |
| normalize | back to summary |
|---|---|
| public final void normalize() Normalizes the value of this quaternion in place. | |
| set | back to summary |
|---|---|
| public final void set(Matrix4f m1) Sets the value of this quaternion to the rotational component of the passed matrix.
| |
| set | back to summary |
|---|---|
| public final void set(Matrix4d m1) Sets the value of this quaternion to the rotational component of the passed matrix.
| |
| set | back to summary |
|---|---|
| public final void set(Matrix3f m1) Sets the value of this quaternion to the rotational component of the passed matrix.
| |
| set | back to summary |
|---|---|
| public final void set(Matrix3d m1) Sets the value of this quaternion to the rotational component of the passed matrix.
| |
| set | back to summary |
|---|---|
| public final void set(AxisAngle4f a) Sets the value of this quaternion to the equivalent rotation of the AxisAngle argument.
| |
| set | back to summary |
|---|---|
| public final void set(AxisAngle4d a) Sets the value of this quaternion to the equivalent rotation of the AxisAngle argument.
| |