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...
|
|
virtual void | Dispose () |
| |
|
unsafe | Const_Quaterniond () |
| | Constructs an empty (default-constructed) instance.
|
| |
|
unsafe | Const_Quaterniond (MR.Const_Quaterniond _other) |
| | Generated from constructor MR.Quaterniond.Quaterniond.
|
| |
|
unsafe | Const_Quaterniond (double a, double b, double c, double d) |
| | Generated from constructor MR.Quaterniond.Quaterniond.
|
| |
|
unsafe | Const_Quaterniond (double real, in MR.Vector3d im) |
| | Generated from constructor MR.Quaterniond.Quaterniond.
|
| |
|
unsafe | Const_Quaterniond (in MR.Matrix3d m) |
| | Generated from constructor MR.Quaterniond.Quaterniond.
|
| |
|
unsafe | Const_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.Vector3d | im () |
| | returns imaginary part of the quaternion as a vector Generated from method MR.Quaterniond.im.
|
| |
|
unsafe double | angle () |
| | returns angle of rotation encoded in this quaternion Generated from method MR.Quaterniond.angle.
|
| |
|
unsafe MR.Vector3d | axis () |
| | returns axis of rotation encoded in this quaternion Generated from method MR.Quaterniond.axis.
|
| |
|
unsafe double | normSq () |
| | Generated from method MR.Quaterniond.normSq.
|
| |
|
unsafe double | norm () |
| | Generated from method MR.Quaterniond.norm.
|
| |
|
unsafe MR.Quaterniond | normalized () |
| | Generated from method MR.Quaterniond.normalized.
|
| |
|
unsafe MR.Quaterniond | conjugate () |
| | computes conjugate quaternion, which for unit quaternions encodes the opposite rotation Generated from method MR.Quaterniond.conjugate.
|
| |
|
unsafe MR.Quaterniond | inverse () |
| | computes reciprocal quaternion Generated from method MR.Quaterniond.inverse.
|
| |
|
unsafe MR.Vector3d | call (in MR.Vector3d p) |
| | 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().
|
| |
|
|
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] |
| | imaginary part: b*i + c*j + d*k
|
| |
|
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] |
| |
|
virtual bool | _IsOwning [get] |
| | Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
|
| |
|
(Note that these are not member symbols.)
|
|
unsafe | Const_Quaterniond (in MR.Vector3d axis, double angle) |
| | Generated from constructor MR.Quaterniond.Quaterniond.
|
| |
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.
The documentation for this class was generated from the following file: