Click or drag to resize

QuaternionD Structure

Represents a QuaternionD (double precision).

Namespace:  Fusee.Math.Core
Assembly:  Fusee.Math.Core (in Fusee.Math.Core.dll) Version: 0.7.0.0 (0.1.0.0)
Syntax
C#
public struct QuaternionD : IEquatable<QuaternionD>

The QuaternionD type exposes the following members.

Constructors
  NameDescription
Public methodQuaternionD(double3, Double)
Construct a new QuaternionD from vector and w components
Public methodQuaternionD(Double, Double, Double, Double)
Construct a new QuaternionD
Top
Properties
  NameDescription
Public propertyLength
Gets the length (magnitude) of the QuaternionD.
Public propertyLengthSquared
Gets the square of the QuaternionD length (magnitude).
Public propertyw
Gets or sets the w component of this instance.
Public propertyx
Gets or sets the x component of this instance.
Public propertyxyz
Gets or sets an Fusee.Math.double3 with the x, y and z components of this instance.
Public propertyy
Gets or sets the y component of this instance.
Public propertyz
Gets or sets the z component of this instance.
Top
Methods
  NameDescription
Public methodStatic memberAdd(QuaternionD, QuaternionD)
Add two QuaternionDs
Public methodStatic memberAdd(QuaternionD, QuaternionD, QuaternionD)
Add two QuaternionDs
Public methodConjugate
Convert this QuaternionD to its conjugate
Public methodStatic memberConjugate(QuaternionD)
Get the conjugate of the given QuaternionD
Public methodStatic memberConjugate(QuaternionD, QuaternionD)
Get the conjugate of the given QuaternionD
Public methodEquals(Object)
Compares this object instance to another object for equality.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(QuaternionD)
Compares this QuaternionD instance to another QuaternionD for equality.
Public methodStatic memberFromAxisAngle
Build a QuaternionD from the given axis and angle
Public methodGetHashCode
Provides the hash code for this object.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberInvert(QuaternionD)
Get the inverse of the given QuaternionD
Public methodStatic memberInvert(QuaternionD, QuaternionD)
Get the inverse of the given QuaternionD
Public methodStatic memberMult(QuaternionD, QuaternionD) Obsolete.
Multiplies two instances.
Public methodStatic memberMult(QuaternionD, QuaternionD, QuaternionD) Obsolete.
Multiplies two instances.
Public methodStatic memberMultiply(QuaternionD, QuaternionD)
Multiplies two instances.
Public methodStatic memberMultiply(QuaternionD, Double)
Multiplies an instance by a scalar.
Public methodStatic memberMultiply(QuaternionD, QuaternionD, QuaternionD)
Multiplies two instances.
Public methodStatic memberMultiply(QuaternionD, Double, QuaternionD)
Multiplies an instance by a scalar.
Public methodNormalize
Scales the QuaternionD to unit length.
Public methodStatic memberNormalize(QuaternionD)
Scale the given QuaternionD to unit length
Public methodStatic memberNormalize(QuaternionD, QuaternionD)
Scale the given QuaternionD to unit length
Public methodStatic memberSlerp
Do Spherical linear interpolation between two QuaternionDs
Public methodStatic memberSub(QuaternionD, QuaternionD)
Subtracts two instances.
Public methodStatic memberSub(QuaternionD, QuaternionD, QuaternionD)
Subtracts two instances.
Public methodToAxisAngle
Convert this instance to an axis-angle representation.
Public methodToAxisAngle(double3, Double)
Convert the current QuaternionD to axis angle representation
Public methodToString
Returns a System.String that represents the current QuaternionD.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberAddition
Adds two instances.
Public operatorStatic memberEquality
Compares two instances for equality.
Public operatorStatic memberInequality
Compares two instances for inequality.
Public operatorStatic memberMultiply(Double, QuaternionD)
Multiplies an instance by a scalar.
Public operatorStatic memberMultiply(QuaternionD, QuaternionD)
Multiplies two instances.
Public operatorStatic memberMultiply(QuaternionD, Double)
Multiplies an instance by a scalar.
Public operatorStatic memberSubtraction
Subtracts two instances.
Top
Fields
  NameDescription
Public fieldStatic memberIdentity
Defines the identity QuaternionD.
Top
See Also