Quaternion Class

Defines a rotation in three dimensions.
Public Class Quaternion 
Implements ICloneable
This language is not supported or no code example is available.
public class Quaternion : ICloneable
This language is not supported or no code example is available.
Name Description
Protected constructor Quaternion(Quaternion)
Public constructor Quaternion(Vector3D, double) Axis and angle constructor.
Public constructor Quaternion(double, double, double, double) Quaternion components constructor.
Public constructor Quaternion(double, double, double) Creates a new Quaternion from specified yaw, pitch, and roll angles.
Top
Name Description
Public property Static Identity Gets the identity Quaternion.
Top
Methods
 
Name Description
Public method Clone() Creates a deep copy of this quaternion.
Public method ConvertToSurrogate()
Public method Equals(Quaternion)
Public method Equals(object) Determines whether the specified object is equal to the current object.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method FromAxisAngle(Vector3D, double) Resets this Quaternion to the rotation specified.
Public method GetHashCode() Serves as the default hash function.
Public method GetType Gets the Type of the current instance. (inherited from Object).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method Normalize() Normalizes this Quaternion.
Public method ToAxisAngle(out Vector3D, out double) Gets current rotation.
Public method ToEulerAngles(out double, out double, out double) Converts this quaternion to Euler angles.
Public method ToMatrix(out double[,]) Gets current rotation.
Public method ToMatrixInverse(out double[,]) Gets current inverse rotation.
Public method ToString() Converts this Quaternion to a human readable string.
Top
Name Description
Operator Static Addition Adds two quaternions.
Operator Static Equality
Operator Static Inequality
Operator Static Multiply Multiplies the specified quaternion by another.
Operator Static Multiply Multiplies the specified quaternion by a scalar.
Operator Static Multiply Multiplies the specified quaternion by a scalar.
Top
Fields
 
Name Description
Public field W W term of this quaternion.
Public field X X term of this quaternion.
Public field Y Y term of this quaternion.
Public field Z Z term of this quaternion.
Top
devDept.Geometry.Quaternion

.NET Framework

Supported in: 4.8

In this article

Definition