| QuaternionDDot Method |
Returns the dot product of two quaternions.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static double Dot(
QuaternionD q1,
QuaternionD q2
)
Public Shared Function Dot (
q1 As QuaternionD,
q2 As QuaternionD
) As Double
public:
static double Dot(
QuaternionD q1,
QuaternionD q2
)
static member Dot :
q1 : QuaternionD *
q2 : QuaternionD -> float
Parameters
- q1
- Type: DigitalRune.Mathematics.AlgebraQuaternionD
The first quaternion. - q2
- Type: DigitalRune.Mathematics.AlgebraQuaternionD
The second quaternion.
Return Value
Type:
DoubleThe dot product of the two quaternions.
See Also