MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.Quaternionf:

Public Member Functions

Quaternionf __imul__ (self, float s)
None __init__ (self)
None __init__ (self, float a, float b, float c, float d)
None __init__ (self, ConstVector3f axis, float angle)
None __init__ (self, float real, ConstVector3f im)
None __init__ (self, ConstMatrix3f m)
None __init__ (self, ConstVector3f from_, ConstVector3f to)
None __init__ (self, ConstQuaternionf arg0)
Quaternionf __itruediv__ (self, float s)
Quaternionf assign (self, ConstQuaternionf 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.ConstQuaternionf
Vector3f __call__ (self, ConstVector3f p)
 __init__ (self, *args, **kwargs)
Quaternionf __neg__ (self)
float angle (self)
Vector3f axis (self)
Quaternionf conjugate (self)
Vector3f im (self)
Quaternionf inverse (self)
float norm (self)
float normSq (self)
Quaternionf normalized (self)

Static Public Member Functions

None __init__ (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.ConstQuaternionf
Quaternionf lerp (ConstQuaternionf q0, ConstQuaternionf q1, float t)
Quaternionf slerp (ConstQuaternionf q0, ConstQuaternionf q1, float t)
Matrix3f slerp (ConstMatrix3f m0, ConstMatrix3f m1, float t)
AffineXf3f slerp (ConstAffineXf3f xf0, ConstAffineXf3f xf1, float t, ConstVector3f p=...)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstQuaternionf
typing _offsetof_a = 0
typing _offsetof_b = 4
typing _offsetof_c = 8
typing _offsetof_d = 12

Detailed Description

Generated from:  MR::Quaternionf

Represents a quaternion following the notations from
https://en.wikipedia.org/wiki/Quaternion

Constructor & Destructor Documentation

◆ __init__() [1/8]

None mrmeshpy.Quaternionf.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/8]

None mrmeshpy.Quaternionf.__init__ ( self)

◆ __init__() [3/8]

None mrmeshpy.Quaternionf.__init__ ( self,
float a,
float b,
float c,
float d )

◆ __init__() [4/8]

None mrmeshpy.Quaternionf.__init__ ( self,
ConstVector3f axis,
float angle )
\\related Quaternion

◆ __init__() [5/8]

None mrmeshpy.Quaternionf.__init__ ( self,
float real,
ConstVector3f im )

◆ __init__() [6/8]

None mrmeshpy.Quaternionf.__init__ ( self,
ConstMatrix3f m )

◆ __init__() [7/8]

None mrmeshpy.Quaternionf.__init__ ( self,
ConstVector3f from_,
ConstVector3f to )
finds shorter arc rotation quaternion from one vector to another

◆ __init__() [8/8]

None mrmeshpy.Quaternionf.__init__ ( self,
ConstQuaternionf arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __imul__()

Quaternionf mrmeshpy.Quaternionf.__imul__ ( self,
float s )

◆ __itruediv__()

Quaternionf mrmeshpy.Quaternionf.__itruediv__ ( self,
float s )

◆ a() [1/2]

float mrmeshpy.Quaternionf.a ( self)
real part of the quaternion

Reimplemented from mrmeshpy.ConstQuaternionf.

◆ a() [2/2]

None mrmeshpy.Quaternionf.a ( self,
float arg1 )
real part of the quaternion

Reimplemented from mrmeshpy.ConstQuaternionf.

◆ assign()

Quaternionf mrmeshpy.Quaternionf.assign ( self,
ConstQuaternionf other )

◆ b() [1/2]

float mrmeshpy.Quaternionf.b ( self)
imaginary part: b*i + c*j + d*k

Reimplemented from mrmeshpy.ConstQuaternionf.

◆ b() [2/2]

None mrmeshpy.Quaternionf.b ( self,
float arg1 )
imaginary part: b*i + c*j + d*k

Reimplemented from mrmeshpy.ConstQuaternionf.

◆ c() [1/2]

float mrmeshpy.Quaternionf.c ( self)
imaginary part: b*i + c*j + d*k

Reimplemented from mrmeshpy.ConstQuaternionf.

◆ c() [2/2]

None mrmeshpy.Quaternionf.c ( self,
float arg1 )
imaginary part: b*i + c*j + d*k

Reimplemented from mrmeshpy.ConstQuaternionf.

◆ d() [1/2]

float mrmeshpy.Quaternionf.d ( self)
imaginary part: b*i + c*j + d*k

Reimplemented from mrmeshpy.ConstQuaternionf.

◆ d() [2/2]

None mrmeshpy.Quaternionf.d ( self,
float arg1 )
imaginary part: b*i + c*j + d*k

Reimplemented from mrmeshpy.ConstQuaternionf.

◆ normalize()

None mrmeshpy.Quaternionf.normalize ( self)
scales this quaternion to make its norm unit

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