Mac Guides | Samples

MonoMac.OpenGL.Quaterniond Structure

Represents a double-precision Quaternion.

See Also: Quaterniond

Syntax

public struct Quaterniond : IEquatable<Quaterniond>

Requirements

Namespace: MonoMac.OpenGL
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0

The members of MonoMac.OpenGL.Quaterniond are listed below.

See Also: ValueType

Public Constructors

Construct a new Quaterniond from vector and w components
Construct a new Quaterniond

Public Fields

static readonly
IdentityQuaterniond. Defines the identity quaternion.

Public Properties

[read-only]
LengthDouble. Gets the length (magnitude) of the Quaterniond.
[read-only]
LengthSquaredDouble. Gets the square of the Quaterniond length (magnitude).
WDouble. Gets or sets the W component of this instance.
XDouble. Gets or sets the X component of this instance.
XyzVector3d. Gets or sets an OpenTK.Vector3d with the X, Y and Z components of this instance.
XYZVector3d. Gets or sets an OpenTK.Vector3d with the X, Y and Z components of this instance.
YDouble. Gets or sets the Y component of this instance.
ZDouble. Gets or sets the Z component of this instance.

Public Methods

static
Add(Quaterniond, Quaterniond) : Quaterniond
Add two quaternions
static
Add(ref Quaterniond, ref Quaterniond, out Quaterniond)
Add two quaternions
Conjugate()
Convert this Quaterniond to its conjugate
static
Conjugate(Quaterniond) : Quaterniond
Get the conjugate of the given Quaterniond
static
Conjugate(ref Quaterniond, out Quaterniond)
Get the conjugate of the given Quaterniond
Equals(Quaterniond) : Boolean
Compares this Quaterniond instance to another Quaterniond for equality.
override
Equals(Object) : Boolean
Compares this object instance to another object for equality.
static
FromAxisAngle(Vector3d, Double) : Quaterniond
Build a Quaterniond from the given axis and angle
override
GetHashCode() : Int32
Provides the hash code for this object.
static
Invert(Quaterniond) : Quaterniond
Get the inverse of the given Quaterniond
static
Invert(ref Quaterniond, out Quaterniond)
Get the inverse of the given Quaterniond
static
Mult(Quaterniond, Quaterniond) : Quaterniond
Multiplies two instances.
static
Mult(ref Quaterniond, ref Quaterniond, out Quaterniond)
Multiplies two instances.
static
Multiply(Quaterniond, Quaterniond) : Quaterniond
Multiplies two instances.
static
Multiply(Quaterniond, Double) : Quaterniond
Multiplies an instance by a scalar.
static
Multiply(ref Quaterniond, ref Quaterniond, out Quaterniond)
Multiplies two instances.
static
Multiply(ref Quaterniond, Double, out Quaterniond)
Multiplies an instance by a scalar.
Normalize()
Scales the Quaterniond to unit length.
static
Normalize(Quaterniond) : Quaterniond
Scale the given Quaterniond to unit length
static
Normalize(ref Quaterniond, out Quaterniond)
Scale the given Quaterniond to unit length
static
Slerp(Quaterniond, Quaterniond, Double) : Quaterniond
Do Spherical linear interpolation between two quaternions
static
Sub(Quaterniond, Quaterniond) : Quaterniond
Subtracts two instances.
static
Sub(ref Quaterniond, ref Quaterniond, out Quaterniond)
Subtracts two instances.
ToAxisAngle() : Vector4d
Convert this instance to an axis-angle representation.
ToAxisAngle(out Vector3d, out Double)
Convert the current quaternion to axis angle representation
override
ToString() : String
Returns a System.String that represents the current Quaterniond.

Public Operators

static
Addition(Quaterniond, Quaterniond) Adds two instances.
static
Equality(Quaterniond, Quaterniond) Compares two instances for equality.
static
Inequality(Quaterniond, Quaterniond) Compares two instances for inequality.
static
Multiply(Quaterniond, Quaterniond) Multiplies two instances.
static
Multiply(Quaterniond, Double) Multiplies an instance by a scalar.
static
Multiply(Double, Quaterniond) Multiplies an instance by a scalar.
static
Subtraction(Quaterniond, Quaterniond) Subtracts two instances.