ILNumerics Ultimate VS

Quaternion Structure

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Represents a Quaternion.

[ILNumerics Visualization Engine]

Namespace:  ILNumerics.Drawing
Assembly:  ILNumerics.Drawing (in ILNumerics.Drawing.dll) Version: ILNumerics Ultimate VS 4
Syntax

[SerializableAttribute]
public struct Quaternion : IEquatable<Quaternion>

The Quaternion type exposes the following members.

Constructors

  NameDescription
Public methodQuaternion(Vector3, Double)
Construct a new Quaternion from vector and w components

[ILNumerics Visualization Engine]

Public methodQuaternion(Single, Single, Single, Single)
Construct a new Quaternion

[ILNumerics Visualization Engine]

Top
Properties

  NameDescription
Public propertyLength
Gets the length (magnitude) of the quaternion.

[ILNumerics Visualization Engine]

Public propertyLengthSquared
Gets the square of the quaternion length (magnitude).

[ILNumerics Visualization Engine]

Public propertyW
Gets or sets the W component of this instance.

[ILNumerics Visualization Engine]

Public propertyX
Gets or sets the X component of this instance.

[ILNumerics Visualization Engine]

Public propertyXyz
Gets or sets a Vector3 with the X, Y and Z components of this instance.

[ILNumerics Visualization Engine]

Public propertyY
Gets or sets the Y component of this instance.

[ILNumerics Visualization Engine]

Public propertyZ
Gets or sets the Z component of this instance.

[ILNumerics Visualization Engine]

Top
Methods

  NameDescription
Public methodStatic memberAdd(Quaternion, Quaternion)
Add two quaternions

[ILNumerics Visualization Engine]

Public methodStatic memberAdd(Quaternion, Quaternion, Quaternion)
Add two quaternions

[ILNumerics Visualization Engine]

Public methodConjugate
Convert this quaternion to its conjugate

[ILNumerics Visualization Engine]

Public methodStatic memberConjugate(Quaternion)
Get the conjugate of the given quaternion

[ILNumerics Visualization Engine]

Public methodStatic memberConjugate(Quaternion, Quaternion)
Get the conjugate of the given quaternion

[ILNumerics Visualization Engine]

Public methodStatic memberCreateFromMatrix(Matrix4)
Build a quaternion from the specified rotation matrix.

[ILNumerics Visualization Engine]

Public methodStatic memberCreateFromMatrix(Matrix4, Quaternion)
Build a quaternion from the specified rotation matrix.

[ILNumerics Visualization Engine]

Public methodEquals(Object)
Compares this object instance to another object for equality.

[ILNumerics Visualization Engine]

(Overrides ValueTypeEquals(Object).)
Public methodEquals(Quaternion)
Compares this Quaternion instance to another Quaternion for equality.

[ILNumerics Visualization Engine]

Public methodStatic memberFromAxisAngle(Vector3, Double)
Build a quaternion from the given axis and angle

[ILNumerics Visualization Engine]

Public methodStatic memberFromAxisAngle(Double, Double, Double, Double)
Public methodGetHashCode
Provides the hash code for this object.

[ILNumerics Visualization Engine]

(Overrides ValueTypeGetHashCode.)
Public methodStatic memberInvert(Quaternion)
Get the inverse of the given quaternion

[ILNumerics Visualization Engine]

Public methodStatic memberInvert(Quaternion, Quaternion)
Get the inverse of the given quaternion

[ILNumerics Visualization Engine]

Public methodStatic memberMoveSphere
Public methodStatic memberMult(Quaternion, Quaternion) Obsolete.
Multiplies two instances.

[ILNumerics Visualization Engine]

Public methodStatic memberMult(Quaternion, Quaternion, Quaternion) Obsolete.
Multiplies two instances.

[ILNumerics Visualization Engine]

Public methodStatic memberMultiply(Quaternion, Quaternion)
Multiplies two instances.

[ILNumerics Visualization Engine]

Public methodStatic memberMultiply(Quaternion, Single)
Multiplies an instance by a scalar.

[ILNumerics Visualization Engine]

Public methodStatic memberMultiply(Quaternion, Quaternion, Quaternion)
Multiplies two instances.

[ILNumerics Visualization Engine]

Public methodStatic memberMultiply(Quaternion, Single, Quaternion)
Multiplies an instance by a scalar.

[ILNumerics Visualization Engine]

Public methodNormalize
Scales the Quaternion to unit length.

[ILNumerics Visualization Engine]

Public methodStatic memberNormalize(Quaternion)
Scale the given quaternion to unit length

[ILNumerics Visualization Engine]

Public methodStatic memberNormalize(Quaternion, Quaternion)
Scale the given quaternion to unit length

[ILNumerics Visualization Engine]

Public methodStatic memberSlerp
Do Spherical linear interpolation between two quaternions

[ILNumerics Visualization Engine]

Public methodStatic memberSub(Quaternion, Quaternion)
Subtracts two instances.

[ILNumerics Visualization Engine]

Public methodStatic memberSub(Quaternion, Quaternion, Quaternion)
Subtracts two instances.

[ILNumerics Visualization Engine]

Public methodToAxisAngle
Convert this instance to an axis-angle representation.

[ILNumerics Visualization Engine]

Public methodToAxisAngle(Vector3, Single)
Convert the current quaternion to axis angle representation

[ILNumerics Visualization Engine]

Public methodToString
Returns a System.String that represents the current Quaternion.

[ILNumerics Visualization Engine]

(Overrides ValueTypeToString.)
Top
Operators

  NameDescription
Public operatorStatic memberAddition
Adds two instances.

[ILNumerics Visualization Engine]

Public operatorStatic memberEquality
Compares two instances for equality.

[ILNumerics Visualization Engine]

Public operatorStatic memberInequality
Compares two instances for inequality.

[ILNumerics Visualization Engine]

Public operatorStatic memberMultiply(Single, Quaternion)
Multiplies an instance by a scalar.

[ILNumerics Visualization Engine]

Public operatorStatic memberMultiply(Quaternion, Quaternion)
Multiplies two instances.

[ILNumerics Visualization Engine]

Public operatorStatic memberMultiply(Quaternion, Single)
Multiplies an instance by a scalar.

[ILNumerics Visualization Engine]

Public operatorStatic memberSubtraction
Subtracts two instances.

[ILNumerics Visualization Engine]

Top
Fields

  NameDescription
Public fieldStatic memberIdentity
Defines the identity quaternion.
Top
Remarks

[ILNumerics Visualization Engine]

See Also

Reference