http://www.emgu.com
Create a quaternion with the specific values
Namespace: Emgu.CVAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntaxpublic 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
)
new :
w : float *
x : float *
y : float *
z : float -> Quaternions
Parameters
- w
- Type: SystemDouble
The W component of the quaternion: the value for cos(rotation angle / 2) - x
- Type: SystemDouble
The X component of the vector: rotation axis * sin(rotation angle / 2) - y
- Type: SystemDouble
The Y component of the vector: rotation axis * sin(rotation angle / 2) - z
- Type: SystemDouble
The Z component of the vector: rotation axis * sin(rotation angle / 2)
See Also