Click or drag to resize
DigitalRuneQuaternionFDivide Method (QuaternionF, QuaternionF)
Divides a quaternions by another quaternion.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public static QuaternionF Divide(
	QuaternionF dividend,
	QuaternionF divisor
)

Parameters

dividend
Type: DigitalRune.Mathematics.AlgebraQuaternionF
The first quaternion (dividend).
divisor
Type: DigitalRune.Mathematics.AlgebraQuaternionF
The second quaternion (divisor).

Return Value

Type: QuaternionF
The result of the division.
Exceptions
ExceptionCondition
MathematicsException The quaternion divisor cannot be inverted.
Remarks

A quaternion is divided by another quaternion by multiplying it with the inverse. For example, two quaternions q1 and q2:

q1 / q2 = q1q2-1

See Also