Public Member Functions | |
| Quaterniond | __imul__ (self, float s) |
| None | __init__ (self) |
| None | __init__ (self, float a, float b, float c, float d) |
| None | __init__ (self, ConstVector3d axis, float angle) |
| None | __init__ (self, float real, ConstVector3d im) |
| None | __init__ (self, ConstMatrix3d m) |
| None | __init__ (self, ConstVector3d from_, ConstVector3d to) |
| None | __init__ (self, ConstQuaterniond arg0) |
| Quaterniond | __itruediv__ (self, float s) |
| Quaterniond | assign (self, ConstQuaterniond other) |
| None | normalize (self) |
| float | a (self) |
| None | a (self, float arg1) |
| float | b (self) |
| None | b (self, float arg1) |
| float | c (self) |
| None | c (self, float arg1) |
| float | d (self) |
| None | d (self, float arg1) |
| Public Member Functions inherited from mrmeshpy.ConstQuaterniond | |
| Vector3d | __call__ (self, ConstVector3d p) |
| __init__ (self, *args, **kwargs) | |
| Quaterniond | __neg__ (self) |
| float | angle (self) |
| Vector3d | axis (self) |
| Quaterniond | conjugate (self) |
| Vector3d | im (self) |
| Quaterniond | inverse (self) |
| float | norm (self) |
| float | normSq (self) |
| Quaterniond | normalized (self) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| Static Public Member Functions inherited from mrmeshpy.ConstQuaterniond | |
| Quaterniond | lerp (ConstQuaterniond q0, ConstQuaterniond q1, float t) |
| Quaterniond | slerp (ConstQuaterniond q0, ConstQuaterniond q1, float t) |
| Matrix3d | slerp (ConstMatrix3d m0, ConstMatrix3d m1, float t) |
| AffineXf3d | slerp (ConstAffineXf3d xf0, ConstAffineXf3d xf1, float t, ConstVector3d p=...) |
Additional Inherited Members | |
| Static Protected Attributes inherited from mrmeshpy.ConstQuaterniond | |
| typing | _offsetof_a = 0 |
| typing | _offsetof_b = 8 |
| typing | _offsetof_c = 16 |
| typing | _offsetof_d = 24 |
Generated from: MR::Quaterniond Represents a quaternion following the notations from https://en.wikipedia.org/wiki/Quaternion
|
static |
| None mrmeshpy.Quaterniond.__init__ | ( | self | ) |
| None mrmeshpy.Quaterniond.__init__ | ( | self, | |
| float | a, | ||
| float | b, | ||
| float | c, | ||
| float | d ) |
| None mrmeshpy.Quaterniond.__init__ | ( | self, | |
| ConstVector3d | axis, | ||
| float | angle ) |
\\related Quaternion
| None mrmeshpy.Quaterniond.__init__ | ( | self, | |
| float | real, | ||
| ConstVector3d | im ) |
| None mrmeshpy.Quaterniond.__init__ | ( | self, | |
| ConstMatrix3d | m ) |
| None mrmeshpy.Quaterniond.__init__ | ( | self, | |
| ConstVector3d | from_, | ||
| ConstVector3d | to ) |
finds shorter arc rotation quaternion from one vector to another
| None mrmeshpy.Quaterniond.__init__ | ( | self, | |
| ConstQuaterniond | arg0 ) |
Implicit copy constructor.
| Quaterniond mrmeshpy.Quaterniond.__imul__ | ( | self, | |
| float | s ) |
| Quaterniond mrmeshpy.Quaterniond.__itruediv__ | ( | self, | |
| float | s ) |
| float mrmeshpy.Quaterniond.a | ( | self | ) |
real part of the quaternion
Reimplemented from mrmeshpy.ConstQuaterniond.
| None mrmeshpy.Quaterniond.a | ( | self, | |
| float | arg1 ) |
real part of the quaternion
Reimplemented from mrmeshpy.ConstQuaterniond.
| Quaterniond mrmeshpy.Quaterniond.assign | ( | self, | |
| ConstQuaterniond | other ) |
| float mrmeshpy.Quaterniond.b | ( | self | ) |
imaginary part: b*i + c*j + d*k
Reimplemented from mrmeshpy.ConstQuaterniond.
| None mrmeshpy.Quaterniond.b | ( | self, | |
| float | arg1 ) |
imaginary part: b*i + c*j + d*k
Reimplemented from mrmeshpy.ConstQuaterniond.
| float mrmeshpy.Quaterniond.c | ( | self | ) |
imaginary part: b*i + c*j + d*k
Reimplemented from mrmeshpy.ConstQuaterniond.
| None mrmeshpy.Quaterniond.c | ( | self, | |
| float | arg1 ) |
imaginary part: b*i + c*j + d*k
Reimplemented from mrmeshpy.ConstQuaterniond.
| float mrmeshpy.Quaterniond.d | ( | self | ) |
imaginary part: b*i + c*j + d*k
Reimplemented from mrmeshpy.ConstQuaterniond.
| None mrmeshpy.Quaterniond.d | ( | self, | |
| float | arg1 ) |
imaginary part: b*i + c*j + d*k
Reimplemented from mrmeshpy.ConstQuaterniond.
| None mrmeshpy.Quaterniond.normalize | ( | self | ) |
scales this quaternion to make its norm unit