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

Public Member Functions

 __init__ (self)
 
 __init__ (self, float Pitch, float Yaw, float Roll)
 
 Set (self, float Pitch, float Yaw, float Roll)
 
 SetZero (self)
 
 Copy (self, float Src)
 
float __setitem__ (self, int Index)
 
float __getitem__ (self, int Index)
 
angles __neg__ (self)
 
 __iadd__ (self, angles _0)
 
 __isub__ (self, angles _0)
 
 __imul__ (self, float _0)
 
 __itruediv__ (self, float _0)
 
angles __add__ (self, angles _0)
 
angles __sub__ (self, angles _0)
 
angles __mul__ (self, float _0)
 
angles __truediv__ (self, float _0)
 
bool __eq__ (self, angles _0)
 
bool __ne__ (self, angles _0)
 
float Length (self)
 
float LengthSq (self)
 
 Normalize360 (self)
 
 Normalize180 (self)
 
 Round (self)
 
 ToVectors (self, vec3 Forward, vec3 Right=None, vec3 Up=None)
 
vec3 ToForward (self)
 
vec3 ToRight (self)
 
vec3 ToUp (self)
 
mat3 ToMat3 (self)
 
mat4 ToMat4 (self)
 
quat ToQuat (self)
 
int GetDimension (self)
 cVec3 ToAngularVelocity() const;
 
float ToFloatPtr (self)
 
float ToFloatPtr (self)
 

Static Public Member Functions

bool Equals (angles _0, angles _1, float Eps)
 
angles Clamp (angles u, angles Min, angles Max)
 
angles Rand (angles Range)
 
float Angle (angles l, angles r)
 
float Distance (angles l, angles r)
 
 EnsureShortestPath (angles l, angles r)
 
angles Lerp (angles l, angles r, float s)
 

Constructor & Destructor Documentation

◆ __init__() [1/2]

coat.angles.__init__ ( self)

◆ __init__() [2/2]

coat.angles.__init__ ( self,
float Pitch,
float Yaw,
float Roll )

Member Function Documentation

◆ __add__()

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

◆ __eq__()

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

◆ __getitem__()

float coat.angles.__getitem__ ( self,
int Index )

◆ __iadd__()

coat.angles.__iadd__ ( self,
angles _0 )

◆ __imul__()

coat.angles.__imul__ ( self,
float _0 )

◆ __isub__()

coat.angles.__isub__ ( self,
angles _0 )

◆ __itruediv__()

coat.angles.__itruediv__ ( self,
float _0 )

◆ __mul__()

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

◆ __ne__()

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

◆ __neg__()

angles coat.angles.__neg__ ( self)

◆ __setitem__()

float coat.angles.__setitem__ ( self,
int Index )

◆ __sub__()

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

◆ __truediv__()

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

◆ Angle()

float coat.angles.Angle ( angles l,
angles r )
static

◆ Clamp()

angles coat.angles.Clamp ( angles u,
angles Min,
angles Max )
static

◆ Copy()

coat.angles.Copy ( self,
float Src )

◆ Distance()

float coat.angles.Distance ( angles l,
angles r )
static

◆ EnsureShortestPath()

coat.angles.EnsureShortestPath ( angles l,
angles r )
static

◆ Equals()

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

◆ GetDimension()

int coat.angles.GetDimension ( self)

cVec3 ToAngularVelocity() const;

◆ Length()

float coat.angles.Length ( self)

◆ LengthSq()

float coat.angles.LengthSq ( self)

◆ Lerp()

angles coat.angles.Lerp ( angles l,
angles r,
float s )
static

◆ Normalize180()

coat.angles.Normalize180 ( self)

◆ Normalize360()

coat.angles.Normalize360 ( self)

◆ Rand()

angles coat.angles.Rand ( angles Range)
static

◆ Round()

coat.angles.Round ( self)

◆ Set()

coat.angles.Set ( self,
float Pitch,
float Yaw,
float Roll )

◆ SetZero()

coat.angles.SetZero ( self)

◆ ToFloatPtr() [1/2]

float coat.angles.ToFloatPtr ( self)

◆ ToFloatPtr() [2/2]

float coat.angles.ToFloatPtr ( self)

◆ ToForward()

vec3 coat.angles.ToForward ( self)

◆ ToMat3()

mat3 coat.angles.ToMat3 ( self)

◆ ToMat4()

mat4 coat.angles.ToMat4 ( self)

◆ ToQuat()

quat coat.angles.ToQuat ( self)

◆ ToRight()

vec3 coat.angles.ToRight ( self)

◆ ToUp()

vec3 coat.angles.ToUp ( self)

◆ ToVectors()

coat.angles.ToVectors ( self,
vec3 Forward,
vec3 Right = None,
vec3 Up = None )

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