A unit quaternions that defines rotation in 3D

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

Syntax

         
 C#  Visual Basic  Visual C++ 
[SerializableAttribute]
public struct Quaternions : IEquatable<Quaternions>
<SerializableAttribute> _
Public Structure Quaternions _
	Implements IEquatable(Of Quaternions)
[SerializableAttribute]
public value class Quaternions : IEquatable<Quaternions>

Members

               
 All Members  Constructors   Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
Quaternions(Double, Double, Double, Double)
Create a quaternion with the specific values
AxisAngle
Get or set the equaivalent axis angle representation. (x,y,z) is the rotatation axis and |(x,y,z)| is the rotation angle in radians
Empty
Get the quaternions that represent a rotation of 0 degrees.
Equals(Object)
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Equals(Quaternions)
Check if this quaternions equals to other
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetEuler(Double%, Double%, Double%)
Get the equaivalent euler angle
GetHashCode()()()()
Returns the hash code for this instance.
(Inherited from ValueType.)
GetRotationMatrix(Matrix<(Of <<'(Double>)>>))
Fill the (3x3) rotation matrix with the value such that it represent the quaternions
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Multiply(Quaternions)
Multiply the current Quaternions with quaternionsOther
Multiply(Quaternions, Quaternions)
Computes the multiplication of two quaternions
RotatePoint(MCvPoint3D64f)
Rotate the specific point and return the result
RotatePoints(Matrix<(Of <<'(Double>)>>), Matrix<(Of <<'(Double>)>>))
Rotate the points in pointsSrc and save the result in pointsDst. Inplace operation is supported (pointsSrc == pointsDst).
RotationAngle
Get the rotation angle in radian
RotationAxis
Get the rotation axis of the quaternion
SetEuler(Double, Double, Double)
Set the value of the quaternions using euler angle
Slerp(Quaternions, Double)
Perform quaternions linear interpolation
ToString()()()()
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
W
The W component of the quaternion: the value for cos(rotation angle / 2)
X
The X component of the vector: rotation axis * sin(rotation angle / 2)
Y
The Y component of the vector: rotation axis * sin(rotation angle / 2)
Z
The Z component of the vector: rotation axis * sin(rotation angle / 2)

See Also