Abacus
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
Abacus.DoublePrecision.Quaternion Struct Reference

Double precision Quaternion. More...

Inheritance diagram for Abacus.DoublePrecision.Quaternion:
Inheritance graph
[legend]
Collaboration diagram for Abacus.DoublePrecision.Quaternion:
Collaboration graph
[legend]

Public Member Functions

 Quaternion (Double i, Double j, Double k, Double u)
 
 Quaternion (Vector3 vectorPart, Double scalarPart)
 
override String ToString ()
 
override Int32 GetHashCode ()
 
override Boolean Equals (Object obj)
 
Boolean Equals (Quaternion other)
 
Boolean ApproximateEquals (Quaternion other)
 
bool IsUnit ()
 
Double LengthSquared ()
 
Double Length ()
 
void Normalise ()
 
Quaternion Conjugate ()
 
Quaternion Inverse ()
 
Double Dot (Quaternion q)
 
Quaternion Concatenate (Quaternion q)
 
Vector3 Transform (Vector3 v)
 
Vector4 Transform (Vector4 v)
 
Vector3 ToYawPitchRoll ()
 

Static Public Member Functions

static void Equals (ref Quaternion q1, ref Quaternion q2, out Boolean r)
 
static void ApproximateEquals (ref Quaternion q1, ref Quaternion q2, out Boolean r)
 
static void Add (ref Quaternion q1, ref Quaternion q2, out Quaternion r)
 
static void Subtract (ref Quaternion q1, ref Quaternion q2, out Quaternion r)
 
static void Negate (ref Quaternion quaternion, out Quaternion r)
 
static void Multiply (ref Quaternion q1, ref Quaternion q2, out Quaternion r)
 
static Boolean operator== (Quaternion a, Quaternion b)
 
static Boolean operator!= (Quaternion a, Quaternion b)
 
static Quaternion operator+ (Quaternion a, Quaternion b)
 
static Quaternion operator- (Quaternion a, Quaternion b)
 
static Quaternion operator- (Quaternion v)
 
static Quaternion operator* (Quaternion a, Quaternion b)
 
static Vector3 operator* (Vector3 v, Quaternion q)
 
static Vector4 operator* (Vector4 v, Quaternion q)
 
static Vector3 operator* (Quaternion q, Vector3 v)
 
static Vector4 operator* (Quaternion q, Vector4 v)
 
static Quaternion operator~ (Quaternion v)
 
static Boolean Equals (Quaternion a, Quaternion b)
 
static Boolean ApproximateEquals (Quaternion a, Quaternion b)
 
static Quaternion Add (Quaternion a, Quaternion b)
 
static Quaternion Subtract (Quaternion a, Quaternion b)
 
static Quaternion Negate (Quaternion v)
 
static Quaternion Multiply (Quaternion a, Quaternion b)
 
static void Lerp (ref Quaternion q1, ref Quaternion q2, ref Double amount, out Quaternion r)
 
static void Slerp (ref Quaternion q1, ref Quaternion q2, ref Double amount, out Quaternion r)
 
static void IsUnit (ref Quaternion q, out Boolean r)
 
static Boolean IsUnit (Quaternion q)
 
static Quaternion Lerp (Quaternion a, Quaternion b, Double amount)
 
static Quaternion Slerp (Quaternion a, Quaternion b, Double amount)
 
static void LengthSquared (ref Quaternion q, out Double r)
 
static void Length (ref Quaternion q, out Double r)
 
static void Conjugate (ref Quaternion value, out Quaternion r)
 
static void Inverse (ref Quaternion q, out Quaternion r)
 
static void Dot (ref Quaternion q1, ref Quaternion q2, out Double r)
 
static void Concatenate (ref Quaternion q1, ref Quaternion q2, out Quaternion r)
 
static void Normalise (ref Quaternion q, out Quaternion r)
 
static void Transform (ref Quaternion rotation, ref Vector3 vector, out Vector3 r)
 
static void Transform (ref Quaternion rotation, ref Vector4 vector, out Vector4 r)
 
static void ToYawPitchRoll (ref Quaternion q, out Vector3 r)
 
static Double LengthSquared (Quaternion q)
 
static Double Length (Quaternion q)
 
static Quaternion Normalise (Quaternion q)
 
static Quaternion Conjugate (Quaternion q)
 
static Quaternion Inverse (Quaternion q)
 
static Double Dot (Quaternion a, Quaternion b)
 
static Quaternion Concatenate (Quaternion a, Quaternion b)
 
static Vector3 Transform (Quaternion rotation, Vector3 v)
 
static Vector4 Transform (Quaternion rotation, Vector4 v)
 
static Vector3 ToYawPitchRoll (Quaternion q)
 
static void CreateFromAxisAngle (ref Vector3 axis, ref Double angle, out Quaternion r)
 
static void CreateFromYawPitchRoll (ref Double yaw, ref Double pitch, ref Double roll, out Quaternion r)
 
static void CreateFromRotationMatrix (ref Matrix44 m, out Quaternion r)
 
static Quaternion CreateFromAxisAngle (Vector3 axis, Double angle)
 
static Quaternion CreateFromYawPitchRoll (Double yaw, Double pitch, Double roll)
 
static Quaternion CreateFromRotationMatrix (Matrix44 matrix)
 

Public Attributes

Double I
 
Double J
 
Double K
 
Double U
 

Static Public Attributes

static Quaternion identity
 
static Quaternion zero
 

Properties

static Quaternion Identity [get]
 
static Quaternion Zero [get]
 

Detailed Description

Double precision Quaternion.


The documentation for this struct was generated from the following file: