Click or drag to resize
DigitalRuneQuaternionDRotate Method
Rotates a vector.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public Vector3D Rotate(
	Vector3D vector
)

Parameters

vector
Type: DigitalRune.Mathematics.AlgebraVector3D
The vector.

Return Value

Type: Vector3D
The rotated vector.
Remarks

The rotation of a vector v by quaternion q is defined as:

(0, v') = q * (0, v) * q-1

See Also