Click or drag to resize
DigitalRuneQuaternionD Methods

The QuaternionD type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAdd
Adds two quaternions.
Public methodStatic memberAreNumericallyEqual(QuaternionD, QuaternionD)
Tests if two quaternions are equal (within the tolerance EpsilonD).
Public methodStatic memberAreNumericallyEqual(QuaternionD, QuaternionD, Double)
Tests if two quaternions are equal (with a specific tolerance).
Public methodConjugate
Sets this quaternion to its conjugate.
Public methodStatic memberCreateRotation(Matrix33D)
Creates a unit quaternion that specifies the same rotation as the given rotation matrix.
Public methodStatic memberCreateRotation(Vector3D, Vector3D)
Creates a unit quaternion that specifies a rotation given by two vectors.
Public methodStatic memberCreateRotation(Vector3D, Double)
Creates a unit quaternion that specifies a rotation given by axis and angle.
Public methodStatic memberCreateRotation(Double, Vector3D, Double, Vector3D, Double, Vector3D, Boolean)
Gets an orientation quaternion from Euler angles (3 rotations around 3 axes).
Public methodStatic memberCreateRotationX
Creates a unit quaternion that specifies a rotation by a given angle around the x-axis.
Public methodStatic memberCreateRotationY
Creates a unit quaternion that specifies a rotation by a given angle around the y-axis.
Public methodStatic memberCreateRotationZ
Creates a unit quaternion that specifies a rotation by a given angle around the z-axis.
Public methodStatic memberDivide(QuaternionD, QuaternionD)
Divides a quaternions by another quaternion.
Public methodStatic memberDivide(QuaternionD, Double)
Divides a quaternion by a scalar.
Public methodStatic memberDot
Returns the dot product of two quaternions.
Public methodEquals(Object)
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(QuaternionD)
Indicates whether the current object is equal to another object of the same type.
Public methodExp
Sets this quaternion to its exponential.
Public methodStatic memberExp(QuaternionD)
Calculates the exponential.
Public methodStatic memberFromXna
Converts this QuaternionD (DigitalRune Mathematics) to Quaternion (XNA Framework).
Public methodStatic memberGetAngle
Calculates the angle between two quaternions.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInvert
Inverts the quaternion.
Public methodLn
Sets this quaternion to its natural logarithm.
Public methodStatic memberLn(QuaternionD)
Calculates the natural logarithm.
Public methodStatic memberMultiply(Double, QuaternionD)
Multiplies a quaternion by a scalar.
Public methodStatic memberMultiply(QuaternionD, QuaternionD)
Multiplies two quaternions.
Public methodStatic memberNegate
Negates a quaternion.
Public methodNormalize
Normalizes the quaternion.
Public methodStatic memberParse(String)
Converts the string representation of a quaternion to its QuaternionD equivalent.
Public methodStatic memberParse(String, IFormatProvider)
Converts the string representation of a quaternion in a specified culture-specific format to its QuaternionD equivalent.
Public methodPower(Double)
Sets this unit quaternion to a power of itself.
Public methodStatic memberPower(QuaternionD, Double)
Calculates the power of a unit quaternion.
Public methodRotate
Rotates a vector.
Public methodStatic memberSubtract
Subtracts a quaternion from a quaternion.
Public methodToArray
Converts the quaternion to an array of 4 double values: (w, x, y, z).
Public methodToList
Converts the vector to a list of 4 double values: (w, x, y, z).
Public methodToQuaternionF
Converts this QuaternionD to QuaternionF.
Public methodToRotationMatrix33
Returns the 3 x 3 rotation matrix of this quaternion.
Public methodToRotationMatrix44
Returns the 4 x 4 rotation matrix of this quaternion.
Public methodToString
Returns the string representation of this quaternion.
(Overrides ValueTypeToString.)
Public methodToString(IFormatProvider)
Returns the string representation of this vector using the specified culture-specific format information.
Public methodToXna
Converts this QuaternionD (DigitalRune Mathematics) to Quaternion (XNA Framework).
Public methodTryNormalize
Tries to normalize the quaternion.
Top
See Also