Click or drag to resize

Quaternions Structure

http://www.emgu.com
A unit quaternions that defines rotation in 3D

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
[SerializableAttribute]
public struct Quaternions : IEquatable<Quaternions>

The Quaternions type exposes the following members.

Constructors
  NameDescription
Public methodQuaternions
Create a quaternion with the specific values
Top
Properties
  NameDescription
Public propertyAxisAngle
Get or set the equivalent axis angle representation. (x,y,z) is the rotation axis and |(x,y,z)| is the rotation angle in radians
Public propertyRotationAngle
Get the rotation angle in radian
Public propertyRotationAxis
Get the rotation axis of the quaternion
Public propertyW
The W component of the quaternion: the value for cos(rotation angle / 2)
Public propertyX
The X component of the vector: rotation axis * sin(rotation angle / 2)
Public propertyY
The Y component of the vector: rotation axis * sin(rotation angle / 2)
Public propertyZ
The Z component of the vector: rotation axis * sin(rotation angle / 2)
Top
Methods
  NameDescription
Public methodConjugate
Compute the conjugate of the quaternions
Public methodEquals(Object) (Inherited from ValueType.)
Public methodEquals(Quaternions)
Check if this quaternions equals to other
Protected methodFinalize (Inherited from Object.)
Public methodGetEuler
Get the equivalent euler angle
Public methodGetHashCode (Inherited from ValueType.)
Public methodGetRotationMatrix
Fill the (3x3) rotation matrix with the value such that it represent the quaternions
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodMultiply
Multiply the current Quaternions with quaternionsOther
Public methodRotatePoint
Rotate the specific point and return the result
Public methodRotatePoints
Rotate the points in pointsSrc and save the result in pointsDst. In-place operation is supported (pointsSrc == pointsDst).
Public methodSetEuler
Set the value of the quaternions using euler angle
Public methodSlerp
Perform quaternions linear interpolation
Public methodToString
Get the string representation of the Quaternions
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberMultiply
Computes the multiplication of two quaternions
Top
Fields
  NameDescription
Public fieldStatic memberEmpty
Get the quaternions that represent a rotation of 0 degrees.
Top
See Also