Quaterniond Quaterniond Struct

Definition

Represents a double-precision Quaternion.

[System.Serializable]
public struct Quaterniond : IEquatable<OpenTK.Quaterniond>
type Quaterniond = struct
Inheritance
QuaterniondQuaterniond
Attributes
Implements

Constructors

Quaterniond(Vector3d, Double) Quaterniond(Vector3d, Double)
Quaterniond(Double, Double, Double, Double) Quaterniond(Double, Double, Double, Double)

Construct a new Quaterniond

Fields

Identity Identity

Defines the identity quaternion.

Properties

Length Length

Gets the length (magnitude) of the Quaterniond.

LengthSquared LengthSquared

Gets the square of the Quaterniond length (magnitude).

W W

Gets or sets the W component of this instance.

X X

Gets or sets the X component of this instance.

Xyz Xyz

Gets or sets an OpenTK.Vector3d with the X, Y and Z components of this instance.

XYZ XYZ

Gets or sets an OpenTK.Vector3d with the X, Y and Z components of this instance.

Y Y

Gets or sets the Y component of this instance.

Z Z

Gets or sets the Z component of this instance.

Methods

Add(Quaterniond, Quaterniond) Add(Quaterniond, Quaterniond)
Add(Quaterniond, Quaterniond, Quaterniond) Add(Quaterniond, Quaterniond, Quaterniond)

Add two quaternions

Conjugate() Conjugate()

Convert this Quaterniond to its conjugate

Conjugate(Quaterniond) Conjugate(Quaterniond)
Conjugate(Quaterniond, Quaterniond) Conjugate(Quaterniond, Quaterniond)

Get the conjugate of the given Quaterniond

Equals(Quaterniond) Equals(Quaterniond)

Compares this Quaterniond instance to another Quaterniond for equality.

Equals(Object) Equals(Object)

Compares this object instance to another object for equality.

FromAxisAngle(Vector3d, Double) FromAxisAngle(Vector3d, Double)
GetHashCode() GetHashCode()

Provides the hash code for this object.

Invert(Quaterniond) Invert(Quaterniond)
Invert(Quaterniond, Quaterniond) Invert(Quaterniond, Quaterniond)

Get the inverse of the given Quaterniond

Mult(Quaterniond, Quaterniond) Mult(Quaterniond, Quaterniond)
Mult(Quaterniond, Quaterniond, Quaterniond) Mult(Quaterniond, Quaterniond, Quaterniond)
Multiply(Quaterniond, Double, Quaterniond) Multiply(Quaterniond, Double, Quaterniond)
Multiply(Quaterniond, Quaterniond, Quaterniond) Multiply(Quaterniond, Quaterniond, Quaterniond)
Multiply(Quaterniond, Double, Quaterniond) Multiply(Quaterniond, Double, Quaterniond)
Multiply(Quaterniond, Quaterniond) Multiply(Quaterniond, Quaterniond)
Multiply(Quaterniond, Double) Multiply(Quaterniond, Double)
Normalize() Normalize()

Scales the Quaterniond to unit length.

Normalize(Quaterniond) Normalize(Quaterniond)
Normalize(Quaterniond, Quaterniond) Normalize(Quaterniond, Quaterniond)

Scale the given Quaterniond to unit length

Slerp(Quaterniond, Quaterniond, Double) Slerp(Quaterniond, Quaterniond, Double)
Sub(Quaterniond, Quaterniond) Sub(Quaterniond, Quaterniond)
Sub(Quaterniond, Quaterniond, Quaterniond) Sub(Quaterniond, Quaterniond, Quaterniond)

Subtracts two instances.

ToAxisAngle() ToAxisAngle()
ToAxisAngle(Vector3d, Double) ToAxisAngle(Vector3d, Double)
ToString() ToString()

Returns a System.String that represents the current Quaterniond.

Operators

Addition(Quaterniond, Quaterniond) Addition(Quaterniond, Quaterniond)
Equality(Quaterniond, Quaterniond) Equality(Quaterniond, Quaterniond)
Inequality(Quaterniond, Quaterniond) Inequality(Quaterniond, Quaterniond)
Multiply(Quaterniond, Quaterniond) Multiply(Quaterniond, Quaterniond)
Multiply(Quaterniond, Double) Multiply(Quaterniond, Double)
Multiply(Double, Quaterniond) Multiply(Double, Quaterniond)
Subtraction(Quaterniond, Quaterniond) Subtraction(Quaterniond, Quaterniond)

Applies to