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

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

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
)

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