Click or drag to resize
DigitalRuneQuaternionF Methods

The QuaternionF type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAdd
Adds two quaternions.
Public methodStatic memberAreNumericallyEqual(QuaternionF, QuaternionF)
Tests if two quaternions are equal (within the tolerance EpsilonF).
Public methodStatic memberAreNumericallyEqual(QuaternionF, QuaternionF, Single)
Tests if two quaternions are equal (with a specific tolerance).
Public methodConjugate
Sets this quaternion to its conjugate.
Public methodStatic memberCreateRotation(Matrix33F)
Creates a unit quaternion that specifies the same rotation as the given rotation matrix.
Public methodStatic memberCreateRotation(Vector3F, Vector3F)
Creates a unit quaternion that specifies a rotation given by two vectors.
Public methodStatic memberCreateRotation(Vector3F, Single)
Creates a unit quaternion that specifies a rotation given by axis and angle.
Public methodStatic memberCreateRotation(Single, Vector3F, Single, Vector3F, Single, Vector3F, 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(QuaternionF, QuaternionF)
Divides a quaternions by another quaternion.
Public methodStatic memberDivide(QuaternionF, Single)
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(QuaternionF)
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(QuaternionF)
Calculates the exponential.
Public methodStatic memberFromXna
Converts this QuaternionF (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(QuaternionF)
Calculates the natural logarithm.
Public methodStatic memberMultiply(Single, QuaternionF)
Multiplies a quaternion by a scalar.
Public methodStatic memberMultiply(QuaternionF, QuaternionF)
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 QuaternionF equivalent.
Public methodStatic memberParse(String, IFormatProvider)
Converts the string representation of a quaternion in a specified culture-specific format to its QuaternionF equivalent.
Public methodPower(Single)
Sets this unit quaternion to a power of itself.
Public methodStatic memberPower(QuaternionF, Single)
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 float values: (w, x, y, z).
Public methodToList
Converts the vector to a list of 4 float values: (w, x, y, z).
Public methodToQuaternionD
Converts this QuaternionF to QuaternionD.
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 QuaternionF (DigitalRune Mathematics) to Quaternion (XNA Framework).
Public methodTryNormalize
Tries to normalize the quaternion.
Top
See Also