http://www.emgu.com
Create a quaternion with the specific values

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public Quaternions(
	double w,
	double x,
	double y,
	double z
)
Visual Basic
Public Sub New ( 
	w As Double,
	x As Double,
	y As Double,
	z As Double
)
Visual C++
public:
Quaternions(
	double w, 
	double x, 
	double y, 
	double z
)
F#
new : 
        w : float * 
        x : float * 
        y : float * 
        z : float -> Quaternions

Parameters

w
Type: System..::..Double
The W component of the quaternion: the value for cos(rotation angle / 2)
x
Type: System..::..Double
The X component of the vector: rotation axis * sin(rotation angle / 2)
y
Type: System..::..Double
The Y component of the vector: rotation axis * sin(rotation angle / 2)
z
Type: System..::..Double
The Z component of the vector: rotation axis * sin(rotation angle / 2)

See Also