MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Quaterniond Class Reference

Represents a quaternion following the notations from https://en.wikipedia.org/wiki/Quaternion Generated from class MR.Quaterniond. This is the non-const half of the class. More...

+ Inheritance diagram for MR.Quaterniond:

Public Member Functions

unsafe Quaterniond ()
 Constructs an empty (default-constructed) instance.
 
unsafe Quaterniond (MR.Const_Quaterniond _other)
 Generated from constructor MR.Quaterniond.Quaterniond.
 
 Quaterniond (Quaterniond _other)
 Generated from constructor MR.Quaterniond.Quaterniond.
 
unsafe Quaterniond (double a, double b, double c, double d)
 Generated from constructor MR.Quaterniond.Quaterniond.
 
unsafe Quaterniond (double real, in MR.Vector3d im)
 Generated from constructor MR.Quaterniond.Quaterniond.
 
unsafe Quaterniond (in MR.Matrix3d m)
 Generated from constructor MR.Quaterniond.Quaterniond.
 
unsafe Quaterniond (in MR.Vector3d from, in MR.Vector3d to)
 finds shorter arc rotation quaternion from one vector to another Generated from constructor MR.Quaterniond.Quaterniond.
 
unsafe MR.Quaterniond assign (MR.Const_Quaterniond _other)
 Generated from method MR.Quaterniond.operator=.
 
unsafe void normalize ()
 scales this quaternion to make its norm unit Generated from method MR.Quaterniond.normalize.
 
unsafe MR.Quaterniond mulAssign (double s)
 Generated from method MR.Quaterniond.operator*=.
 
unsafe MR.Quaterniond divAssign (double s)
 Generated from method MR.Quaterniond.operator/=.
 

Static Public Member Functions

static unsafe implicit operator Quaterniond (in MR.Matrix3d m)
 Generated from constructor MR.Quaterniond.Quaterniond.
 

Properties

new unsafe ref double a [get]
 < real part of the quaternion
 
new unsafe ref double b [get]
 imaginary part: b*i + c*j + d*k
 
new unsafe ref double c [get]
 imaginary part: b*i + c*j + d*k
 
new unsafe ref double d [get]
 

Related Symbols

(Note that these are not member symbols.)

unsafe Quaterniond (in MR.Vector3d axis, double angle)
 Generated from constructor MR.Quaterniond.Quaterniond.
 

Detailed Description

Represents a quaternion following the notations from https://en.wikipedia.org/wiki/Quaternion Generated from class MR.Quaterniond. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ Quaterniond() [1/7]

unsafe MR.Quaterniond.Quaterniond ( )
inline

Constructs an empty (default-constructed) instance.

◆ Quaterniond() [2/7]

unsafe MR.Quaterniond.Quaterniond ( MR.Const_Quaterniond _other)
inline

Generated from constructor MR.Quaterniond.Quaterniond.

◆ Quaterniond() [3/7]

MR.Quaterniond.Quaterniond ( Quaterniond _other)
inline

Generated from constructor MR.Quaterniond.Quaterniond.

◆ Quaterniond() [4/7]

unsafe MR.Quaterniond.Quaterniond ( double a,
double b,
double c,
double d )
inline

Generated from constructor MR.Quaterniond.Quaterniond.

◆ Quaterniond() [5/7]

unsafe MR.Quaterniond.Quaterniond ( double real,
in MR.Vector3d im )
inline

Generated from constructor MR.Quaterniond.Quaterniond.

◆ Quaterniond() [6/7]

unsafe MR.Quaterniond.Quaterniond ( in MR.Matrix3d m)
inline

Generated from constructor MR.Quaterniond.Quaterniond.

◆ Quaterniond() [7/7]

unsafe MR.Quaterniond.Quaterniond ( in MR.Vector3d from,
in MR.Vector3d to )
inline

finds shorter arc rotation quaternion from one vector to another Generated from constructor MR.Quaterniond.Quaterniond.

Member Function Documentation

◆ assign()

unsafe MR.Quaterniond MR.Quaterniond.assign ( MR.Const_Quaterniond _other)
inline

Generated from method MR.Quaterniond.operator=.

◆ divAssign()

unsafe MR.Quaterniond MR.Quaterniond.divAssign ( double s)
inline

Generated from method MR.Quaterniond.operator/=.

◆ mulAssign()

unsafe MR.Quaterniond MR.Quaterniond.mulAssign ( double s)
inline

Generated from method MR.Quaterniond.operator*=.

◆ normalize()

unsafe void MR.Quaterniond.normalize ( )
inline

scales this quaternion to make its norm unit Generated from method MR.Quaterniond.normalize.

◆ operator Quaterniond()

static unsafe implicit MR.Quaterniond.operator Quaterniond ( in MR.Matrix3d m)
inlinestatic

Generated from constructor MR.Quaterniond.Quaterniond.

Friends And Related Symbol Documentation

◆ Quaterniond()

unsafe Quaterniond ( in MR.Vector3d axis,
double angle )
related

Generated from constructor MR.Quaterniond.Quaterniond.

Property Documentation

◆ a

new unsafe ref double MR.Quaterniond.a
get

< real part of the quaternion

imaginary part: b*i + c*j + d*k

◆ b

new unsafe ref double MR.Quaterniond.b
get

imaginary part: b*i + c*j + d*k

◆ c

new unsafe ref double MR.Quaterniond.c
get

imaginary part: b*i + c*j + d*k

◆ d

new unsafe ref double MR.Quaterniond.d
get

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