Represents a quaternion following the notations from https://en.wikipedia.org/wiki/Quaternion Generated from class MR.Quaterniond. This is the const half of the class.
More...
|
| static unsafe implicit | operator Const_Quaterniond (in MR.Matrix3d m) |
| | Generated from constructor MR.Quaterniond.Quaterniond.
|
| static unsafe implicit | operator MR.Matrix3d (MR.Const_Quaterniond _this) |
| | converts this into 3x3 rotation matrix Generated from conversion operator MR::Quaterniond::operator MR.Matrix3d.
|
| static unsafe MR.Quaterniond | operator- (MR.Const_Quaterniond _this) |
| | returns quaternion representing the same rotation, using the opposite rotation direction and opposite angle Generated from method MR::Quaterniond::operator-.
|
| static unsafe MR.Quaterniond | lerp (MR.Const_Quaterniond q0, MR.Const_Quaterniond q1, double t) |
| | given t in [0,1], interpolates linearly two quaternions giving in general not-unit quaternion Generated from method MR.Quaterniond.lerp.
|
| static unsafe MR.Quaterniond | slerp (MR.Const_Quaterniond q0, MR.Const_Quaterniond q1, double t) |
| | given t in [0,1] and two unit quaternions, interpolates them spherically and produces another unit quaternion Generated from method MR.Quaterniond.slerp.
|
| static unsafe MR.Matrix3d | slerp (in MR.Matrix3d m0, in MR.Matrix3d m1, double t) |
| | given t in [0,1] and two rotation matrices, interpolates them spherically and produces another rotation matrix Generated from method MR.Quaterniond.slerp.
|
| static unsafe MR.AffineXf3d | slerp (in MR.AffineXf3d xf0, in MR.AffineXf3d xf1, double t, MR.Vector3d? p=null) |
| | given t in [0,1] and rigid transformations, interpolates them spherically and produces another rigid transformation; p is the only point that will have straight line movement during interpolation Generated from method MR.Quaterniond.slerp. Parameter p defaults to {}.
|
|
| virtual unsafe void | Dispose (bool disposing) |
|
| unsafe double | a [get] |
| | real part of the quaternion
|
| unsafe double | b [get] |
| | imaginary part: b*i + c*j + d*k
|
| unsafe double | c [get] |
| | imaginary part: b*i + c*j + d*k
|
| unsafe double | d [get] |
| | imaginary part: b*i + c*j + d*k
|
Represents a quaternion following the notations from https://en.wikipedia.org/wiki/Quaternion Generated from class MR.Quaterniond. This is the const half of the class.
◆ Const_Quaterniond() [1/7]
| unsafe MR.Const_Quaterniond.Const_Quaterniond |
( |
| ) |
|
|
inline |
Constructs an empty (default-constructed) instance.
◆ Const_Quaterniond() [2/7]
◆ Const_Quaterniond() [3/7]
| MR.Const_Quaterniond.Const_Quaterniond |
( |
Quaterniond | _other | ) |
|
|
inline |
◆ Const_Quaterniond() [4/7]
| unsafe MR.Const_Quaterniond.Const_Quaterniond |
( |
double | a, |
|
|
double | b, |
|
|
double | c, |
|
|
double | d ) |
|
inline |
◆ Const_Quaterniond() [5/7]
| unsafe MR.Const_Quaterniond.Const_Quaterniond |
( |
double | real, |
|
|
in MR.Vector3d | im ) |
|
inline |
◆ Const_Quaterniond() [6/7]
| unsafe MR.Const_Quaterniond.Const_Quaterniond |
( |
in MR.Matrix3d | m | ) |
|
|
inline |
◆ Const_Quaterniond() [7/7]
◆ angle()
| unsafe double MR.Const_Quaterniond.angle |
( |
| ) |
|
|
inline |
◆ axis()
◆ call()
for unit quaternion returns the rotation of point p, which is faster to compute for single point; for multiple points it is faster to create matrix representation and apply it to the points Generated from method MR::Quaterniond::operator().
◆ conjugate()
computes conjugate quaternion, which for unit quaternions encodes the opposite rotation Generated from method MR.Quaterniond.conjugate.
◆ Dispose() [1/2]
| virtual void MR.Const_Quaterniond.Dispose |
( |
| ) |
|
|
inlinevirtual |
◆ Dispose() [2/2]
| virtual unsafe void MR.Const_Quaterniond.Dispose |
( |
bool | disposing | ) |
|
|
inlineprotectedvirtual |
◆ im()
returns imaginary part of the quaternion as a vector Generated from method MR.Quaterniond.im.
◆ inverse()
◆ lerp()
given t in [0,1], interpolates linearly two quaternions giving in general not-unit quaternion Generated from method MR.Quaterniond.lerp.
◆ norm()
| unsafe double MR.Const_Quaterniond.norm |
( |
| ) |
|
|
inline |
◆ normalized()
◆ normSq()
| unsafe double MR.Const_Quaterniond.normSq |
( |
| ) |
|
|
inline |
◆ operator Const_Quaterniond()
◆ operator MR.Matrix3d()
converts this into 3x3 rotation matrix Generated from conversion operator MR::Quaterniond::operator MR.Matrix3d.
◆ operator-()
returns quaternion representing the same rotation, using the opposite rotation direction and opposite angle Generated from method MR::Quaterniond::operator-.
◆ slerp() [1/3]
given t in [0,1] and rigid transformations, interpolates them spherically and produces another rigid transformation; p is the only point that will have straight line movement during interpolation Generated from method MR.Quaterniond.slerp. Parameter p defaults to {}.
◆ slerp() [2/3]
given t in [0,1] and two rotation matrices, interpolates them spherically and produces another rotation matrix Generated from method MR.Quaterniond.slerp.
◆ slerp() [3/3]
given t in [0,1] and two unit quaternions, interpolates them spherically and produces another unit quaternion Generated from method MR.Quaterniond.slerp.
◆ Const_Quaterniond()
◆ __ref_storage_a
| unsafe double* MR.Const_Quaterniond.__ref_storage_a |
|
protected |
◆ __ref_storage_b
| unsafe double* MR.Const_Quaterniond.__ref_storage_b |
|
protected |
◆ __ref_storage_c
| unsafe double* MR.Const_Quaterniond.__ref_storage_c |
|
protected |
◆ __ref_storage_d
| unsafe double* MR.Const_Quaterniond.__ref_storage_d |
|
protected |
| unsafe double MR.Const_Quaterniond.a |
|
get |
real part of the quaternion
| unsafe double MR.Const_Quaterniond.b |
|
get |
imaginary part: b*i + c*j + d*k
| unsafe double MR.Const_Quaterniond.c |
|
get |
imaginary part: b*i + c*j + d*k
| unsafe double MR.Const_Quaterniond.d |
|
get |
imaginary part: b*i + c*j + d*k
The documentation for this class was generated from the following file: