This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.QuaternionD
Malware edited this page Dec 25, 2018
·
44 revisions
← Index
public struct QuaternionD: ValueTypeNamespace: VRageMath
Assembly: VRage.Math.dll
Inheritance: ValueType
| Member | Description |
|---|---|
| X | Specifies the x-value of the vector component of the quaternion. |
| Y | Specifies the y-value of the vector component of the quaternion. |
| Z | Specifies the z-value of the vector component of the quaternion. |
| W | Specifies the rotation component of the quaternion. |
| Identity |
| Member | Description |
|---|---|
| ToString() | Retireves a string representation of the current object. |
| Equals(QuaternionD) | Determines whether the specified Object is equal to the QuaternionD. |
| Equals(object) | Returns a value that indicates whether the current instance is equal to a specified object. |
| GetHashCode() | Get the hash code of this object. |
| LengthSquared() | Calculates the length squared of a QuaternionD. |
| Length() | Calculates the length of a QuaternionD. |
| Normalize() | Divides each component of the quaternion by the length of the quaternion. |
| GetAxisAngle(ref Vector3D, ref double) | |
| Normalize(QuaternionD) | Divides each component of the quaternion by the length of the quaternion. |
| Normalize(ref QuaternionD, ref QuaternionD) | Divides each component of the quaternion by the length of the quaternion. |
| Conjugate() | Transforms this QuaternionD into its conjugate. |
| Conjugate(QuaternionD) | Returns the conjugate of a specified QuaternionD. |
| Conjugate(ref QuaternionD, ref QuaternionD) | Returns the conjugate of a specified QuaternionD. |
| Inverse(QuaternionD) | Returns the inverse of a QuaternionD. |
| Inverse(ref QuaternionD, ref QuaternionD) | Returns the inverse of a QuaternionD. |
| CreateFromAxisAngle(Vector3D, double) | Creates a QuaternionD from a vector and an angle to rotate about the vector. |
| CreateFromAxisAngle(ref Vector3D, double, ref QuaternionD) | Creates a QuaternionD from a vector and an angle to rotate about the vector. |
| CreateFromYawPitchRoll(double, double, double) | Creates a new QuaternionD from specified yaw, pitch, and roll angles. |
| CreateFromYawPitchRoll(double, double, double, ref QuaternionD) | Creates a new QuaternionD from specified yaw, pitch, and roll angles. |
| CreateFromForwardUp(Vector3D, Vector3D) | Works for normalized vectors only |
| CreateFromRotationMatrix(MatrixD) | Creates a QuaternionD from a rotation MatrixD. |
| CreateFromRotationMatrix(ref MatrixD, ref QuaternionD) | Creates a QuaternionD from a rotation MatrixD. |
| Dot(QuaternionD, QuaternionD) | Calculates the dot product of two Quaternions. |
| Dot(ref QuaternionD, ref QuaternionD, ref double) | Calculates the dot product of two Quaternions. |
| Slerp(QuaternionD, QuaternionD, double) | Interpolates between two quaternions, using spherical linear interpolation. |
| Slerp(ref QuaternionD, ref QuaternionD, double, ref QuaternionD) | Interpolates between two quaternions, using spherical linear interpolation. |
| Lerp(QuaternionD, QuaternionD, double) | Linearly interpolates between two quaternions. |
| Lerp(ref QuaternionD, ref QuaternionD, double, ref QuaternionD) | Linearly interpolates between two quaternions. |
| Concatenate(QuaternionD, QuaternionD) | Concatenates two Quaternions; the result represents the value1 rotation followed by the value2 rotation. |
| Concatenate(ref QuaternionD, ref QuaternionD, ref QuaternionD) | Concatenates two Quaternions; the result represents the value1 rotation followed by the value2 rotation. |
| Negate(QuaternionD) | Flips the sign of each component of the quaternion. |
| Negate(ref QuaternionD, ref QuaternionD) | Flips the sign of each component of the quaternion. |
| Add(QuaternionD, QuaternionD) | Adds two Quaternions. |
| Add(ref QuaternionD, ref QuaternionD, ref QuaternionD) | Adds two Quaternions. |
| Subtract(QuaternionD, QuaternionD) | Subtracts a quaternion from another quaternion. |
| Subtract(ref QuaternionD, ref QuaternionD, ref QuaternionD) | Subtracts a quaternion from another quaternion. |
| Multiply(QuaternionD, QuaternionD) | Multiplies two quaternions. |
| Multiply(ref QuaternionD, ref QuaternionD, ref QuaternionD) | Multiplies two quaternions. |
| Multiply(QuaternionD, double) | Multiplies a quaternion by a scalar value. |
| Multiply(ref QuaternionD, double, ref QuaternionD) | Multiplies a quaternion by a scalar value. |
| Divide(QuaternionD, QuaternionD) | Divides a QuaternionD by another QuaternionD. |
| Divide(ref QuaternionD, ref QuaternionD, ref QuaternionD) | Divides a QuaternionD by another QuaternionD. |
| FromVector4(Vector4D) | |
| ToVector4() | |
| IsZero(QuaternionD) | |
| IsZero(QuaternionD, double) | |
| CreateFromTwoVectors(ref Vector3D, ref Vector3D, ref QuaternionD) | |
| CreateFromTwoVectors(Vector3D, Vector3D) |
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!