3DCoat Python API
The 3DCoat Python API documentation.
Loading...
Searching...
No Matches
coat.quat Class Reference

Public Member Functions

 __init__ (self)
 
 __init__ (self, float X, float Y, float Z, float W)
 
 __init__ (self, quat v)
 
 SetIdentity (self)
 
 SetZero (self)
 
bool IsZero (self, float Eps)
 
 Set (self, float X, float Y, float Z, float W)
 
 Set (self, vec3 XYZ, float W)
 
float __setitem__ (self, int index)
 
float __getitem__ (self, int index)
 
quat __neg__ (self)
 
quat __iadd__ (self, quat _0)
 
quat __isub__ (self, quat _0)
 
quat __imul__ (self, quat _0)
 
quat __itruediv__ (self, quat _0)
 
quat __imul__ (self, float _0)
 
quat __itruediv__ (self, float _0)
 
quat __add__ (self, quat _0)
 
quat __sub__ (self, quat _0)
 
quat __mul__ (self, quat _0)
 
quat __truediv__ (self, quat _0)
 
quat __mul__ (self, float _0)
 
quat __truediv__ (self, float _0)
 
bool __eq__ (self, quat _0)
 
bool __ne__ (self, quat _0)
 
 Compress (self)
 
 CalcW (self)
 
float Length (self)
 
float LengthSq (self)
 
quat Normalize (self)
 
bool IsNormalized (self, float Eps)
 
int GetDimension (self)
 
angles ToAngles (self)
 
rotation ToRotation (self)
 
mat3 ToMat3 (self)
 
mat4 ToMat4 (self)
 
vec3 ToAngularVelocity (self)
 
float ToFloatPtr (self)
 
float ToFloatPtr (self)
 

Static Public Member Functions

quat Mul (quat _0, quat _1)
 
quat Div (quat _0, quat _1)
 
bool Equals (quat _0, quat _1, float Eps)
 
bool EqualRotations (quat _0, quat _1, float Eps)
 
bool SameHemisphere (quat _0, quat _1)
 
quat Conjugate (quat _0)
 
float Dot (quat _0, quat _1)
 
quat Exp (quat _0)
 
quat Invert (quat _0)
 
quat Lerp (quat q0, quat q1, float s, bool ShortestPath=True)
 
quat Ln (quat _0)
 
quat LnDif (quat _0, quat _1)
 
quat Slerp (quat q0, quat q1, float s, bool ShortestPath=True)
 
quat Squad (quat q1, quat A, quat B, quat C, float s)
 
 SquadSetup (quat q0, quat q1, quat q2, quat q3, quat A, quat B, quat C)
 

Constructor & Destructor Documentation

◆ __init__() [1/3]

coat.quat.__init__ ( self)

◆ __init__() [2/3]

coat.quat.__init__ ( self,
float X,
float Y,
float Z,
float W )

◆ __init__() [3/3]

coat.quat.__init__ ( self,
quat v )

Member Function Documentation

◆ __add__()

quat coat.quat.__add__ ( self,
quat _0 )

◆ __eq__()

bool coat.quat.__eq__ ( self,
quat _0 )

◆ __getitem__()

float coat.quat.__getitem__ ( self,
int index )

◆ __iadd__()

quat coat.quat.__iadd__ ( self,
quat _0 )

◆ __imul__() [1/2]

quat coat.quat.__imul__ ( self,
float _0 )

◆ __imul__() [2/2]

quat coat.quat.__imul__ ( self,
quat _0 )

◆ __isub__()

quat coat.quat.__isub__ ( self,
quat _0 )

◆ __itruediv__() [1/2]

quat coat.quat.__itruediv__ ( self,
float _0 )

◆ __itruediv__() [2/2]

quat coat.quat.__itruediv__ ( self,
quat _0 )

◆ __mul__() [1/2]

quat coat.quat.__mul__ ( self,
float _0 )

◆ __mul__() [2/2]

quat coat.quat.__mul__ ( self,
quat _0 )

◆ __ne__()

bool coat.quat.__ne__ ( self,
quat _0 )

◆ __neg__()

quat coat.quat.__neg__ ( self)

◆ __setitem__()

float coat.quat.__setitem__ ( self,
int index )

◆ __sub__()

quat coat.quat.__sub__ ( self,
quat _0 )

◆ __truediv__() [1/2]

quat coat.quat.__truediv__ ( self,
float _0 )

◆ __truediv__() [2/2]

quat coat.quat.__truediv__ ( self,
quat _0 )

◆ CalcW()

coat.quat.CalcW ( self)

◆ Compress()

coat.quat.Compress ( self)

◆ Conjugate()

quat coat.quat.Conjugate ( quat _0)
static

◆ Div()

quat coat.quat.Div ( quat _0,
quat _1 )
static

◆ Dot()

float coat.quat.Dot ( quat _0,
quat _1 )
static

◆ EqualRotations()

bool coat.quat.EqualRotations ( quat _0,
quat _1,
float Eps )
static

◆ Equals()

bool coat.quat.Equals ( quat _0,
quat _1,
float Eps )
static

◆ Exp()

quat coat.quat.Exp ( quat _0)
static

◆ GetDimension()

int coat.quat.GetDimension ( self)

◆ Invert()

quat coat.quat.Invert ( quat _0)
static

◆ IsNormalized()

bool coat.quat.IsNormalized ( self,
float Eps )

◆ IsZero()

bool coat.quat.IsZero ( self,
float Eps )

◆ Length()

float coat.quat.Length ( self)

◆ LengthSq()

float coat.quat.LengthSq ( self)

◆ Lerp()

quat coat.quat.Lerp ( quat q0,
quat q1,
float s,
bool ShortestPath = True )
static

◆ Ln()

quat coat.quat.Ln ( quat _0)
static

◆ LnDif()

quat coat.quat.LnDif ( quat _0,
quat _1 )
static

◆ Mul()

quat coat.quat.Mul ( quat _0,
quat _1 )
static

◆ Normalize()

quat coat.quat.Normalize ( self)

◆ SameHemisphere()

bool coat.quat.SameHemisphere ( quat _0,
quat _1 )
static

◆ Set() [1/2]

coat.quat.Set ( self,
float X,
float Y,
float Z,
float W )

◆ Set() [2/2]

coat.quat.Set ( self,
vec3 XYZ,
float W )

◆ SetIdentity()

coat.quat.SetIdentity ( self)

◆ SetZero()

coat.quat.SetZero ( self)

◆ Slerp()

quat coat.quat.Slerp ( quat q0,
quat q1,
float s,
bool ShortestPath = True )
static

◆ Squad()

quat coat.quat.Squad ( quat q1,
quat A,
quat B,
quat C,
float s )
static

◆ SquadSetup()

coat.quat.SquadSetup ( quat q0,
quat q1,
quat q2,
quat q3,
quat A,
quat B,
quat C )
static

◆ ToAngles()

angles coat.quat.ToAngles ( self)

◆ ToAngularVelocity()

vec3 coat.quat.ToAngularVelocity ( self)

◆ ToFloatPtr() [1/2]

float coat.quat.ToFloatPtr ( self)

◆ ToFloatPtr() [2/2]

float coat.quat.ToFloatPtr ( self)

◆ ToMat3()

mat3 coat.quat.ToMat3 ( self)

◆ ToMat4()

mat4 coat.quat.ToMat4 ( self)

◆ ToRotation()

rotation coat.quat.ToRotation ( self)

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