Create a quaternion with the specific values

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public Quaternions(
	double w,
	double x,
	double y,
	double z
)
Public Sub New ( _
	w As Double, _
	x As Double, _
	y As Double, _
	z As Double _
)
public:
Quaternions(
	double w, 
	double x, 
	double y, 
	double z
)

Parameters

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

See Also