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

Public Member Functions

 __init__ (self)
 
 __init__ (self, float _00, float _01, float _02, float _10, float _11, float _12, float _20, float _21, float _22)
 
 __init__ (self, mat3 v)
 
 Copy (self, float Float9)
 
 CopyTransposed (self, float Float9)
 
 SetZero (self)
 
 SetIdentity (self)
 
vec3 GetRow (self, int Index)
 
vec3 GetRow0 (self)
 
vec3 GetRow1 (self)
 
vec3 GetRow2 (self)
 
vec3 Row (self, int Index)
 
vec3 Row0 (self)
 
vec3 Row1 (self)
 
vec3 Row2 (self)
 
 SetRow (self, int Index, vec3 _1)
 
 SetRow0 (self, vec3 _0)
 
 SetRow1 (self, vec3 _0)
 
 SetRow2 (self, vec3 _0)
 
 SetRow (self, int Index, float X, float Y, float Z)
 
 SetRow0 (self, float X, float Y, float Z)
 
 SetRow1 (self, float X, float Y, float Z)
 
 SetRow2 (self, float X, float Y, float Z)
 
vec3 GetCol (self, int Index)
 
vec3 GetCol0 (self)
 
vec3 GetCol1 (self)
 
vec3 GetCol2 (self)
 
 SetCol (self, int Index, vec3 _1)
 
 SetCol0 (self, vec3 _0)
 
 SetCol1 (self, vec3 _0)
 
 SetCol2 (self, vec3 _0)
 
 SetCol (self, int Index, float X, float Y, float Z)
 
 SetCol0 (self, float X, float Y, float Z)
 
 SetCol1 (self, float X, float Y, float Z)
 
 SetCol2 (self, float X, float Y, float Z)
 
 SetElem (self, int Row, int Col, float Value)
 
float GetElem (self, int Row, int Col)
 
float Elem (self, int Row, int Col)
 
vec3 __getitem__ (self, int Row)
 
vec3 __setitem__ (self, int Row)
 
float __call__ (self, int Row, int Col)
 
float __call__ (self, int Row, int Col)
 
float Trace (self)
 
float Determinant (self)
 
bool __eq__ (self, mat3 _0)
 
bool IsZero (self, float Eps)
 
bool IsIdentity (self, float Eps)
 
bool IsSymmetric (self, float Eps)
 
bool IsOrthonormal (self, float Eps)
 
mat3 __neg__ (self)
 
mat3 __iadd__ (self, mat3 R)
 
mat3 __isub__ (self, mat3 R)
 
mat3 __imul__ (self, mat3 R)
 
mat3 __imul__ (self, float _0)
 
mat3 __itruediv__ (self, float _0)
 
mat3 __add__ (self, mat3 R)
 
mat3 __sub__ (self, mat3 R)
 
mat3 __mul__ (self, mat3 R)
 
mat3 __mul__ (self, float _0)
 
mat3 __truediv__ (self, float _0)
 
 Add (self, mat3 R)
 
 Sub (self, mat3 R)
 
 Mul (self, mat3 R)
 
 Mul (self, float s)
 
float ToFloatPtr (self)
 
float ToFloatPtr (self)
 
mat4 ToMat4 (self)
 
quat ToQuat (self)
 
 ToVectors (self, vec3 Forward, vec3 Right=None, vec3 Up=None)
 
vec3 ToForward (self)
 
vec3 ToRight (self)
 
vec3 ToUp (self)
 
angles ToAngles (self)
 

Static Public Member Functions

bool Equals (mat3 _0, mat3 _1, float Eps)
 
mat3 Transpose (mat3 _0)
 
bool Invert (mat3 Fm, mat3 To)
 
mat3 OrthoNormalize (mat3 Src)
 
mat3 Rotation (vec3 Axis, float Angle)
 
mat3 RotationX (float Angle)
 
mat3 RotationY (float Angle)
 
mat3 RotationZ (float Angle)
 
mat3 RotationXYZ (float Pitch, float Yaw, float Roll)
 
mat3 EulerZYX (float eulerX, float eulerY, float eulerZ)
 
mat3 Scaling (float XYZ)
 
mat3 Scaling (float X, float Y)
 
mat3 Scaling (float X, float Y, float Z)
 
mat3 Scaling (vec2 XY)
 
mat3 Scaling (vec3 XYZ)
 
mat3 FromVectors (vec3 Forward, vec3 Right, vec3 Up)
 
mat3 FromForward (vec3 Forward)
 

Constructor & Destructor Documentation

◆ __init__() [1/3]

coat.mat3.__init__ ( self)

◆ __init__() [2/3]

coat.mat3.__init__ ( self,
float _00,
float _01,
float _02,
float _10,
float _11,
float _12,
float _20,
float _21,
float _22 )

◆ __init__() [3/3]

coat.mat3.__init__ ( self,
mat3 v )

Member Function Documentation

◆ __add__()

mat3 coat.mat3.__add__ ( self,
mat3 R )

◆ __call__() [1/2]

float coat.mat3.__call__ ( self,
int Row,
int Col )

◆ __call__() [2/2]

float coat.mat3.__call__ ( self,
int Row,
int Col )

◆ __eq__()

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

◆ __getitem__()

vec3 coat.mat3.__getitem__ ( self,
int Row )

◆ __iadd__()

mat3 coat.mat3.__iadd__ ( self,
mat3 R )

◆ __imul__() [1/2]

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

◆ __imul__() [2/2]

mat3 coat.mat3.__imul__ ( self,
mat3 R )

◆ __isub__()

mat3 coat.mat3.__isub__ ( self,
mat3 R )

◆ __itruediv__()

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

◆ __mul__() [1/2]

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

◆ __mul__() [2/2]

mat3 coat.mat3.__mul__ ( self,
mat3 R )

◆ __neg__()

mat3 coat.mat3.__neg__ ( self)

◆ __setitem__()

vec3 coat.mat3.__setitem__ ( self,
int Row )

◆ __sub__()

mat3 coat.mat3.__sub__ ( self,
mat3 R )

◆ __truediv__()

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

◆ Add()

coat.mat3.Add ( self,
mat3 R )

◆ Copy()

coat.mat3.Copy ( self,
float Float9 )

◆ CopyTransposed()

coat.mat3.CopyTransposed ( self,
float Float9 )

◆ Determinant()

float coat.mat3.Determinant ( self)

◆ Elem()

float coat.mat3.Elem ( self,
int Row,
int Col )

◆ Equals()

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

◆ EulerZYX()

mat3 coat.mat3.EulerZYX ( float eulerX,
float eulerY,
float eulerZ )
static

◆ FromForward()

mat3 coat.mat3.FromForward ( vec3 Forward)
static

◆ FromVectors()

mat3 coat.mat3.FromVectors ( vec3 Forward,
vec3 Right,
vec3 Up )
static

◆ GetCol()

vec3 coat.mat3.GetCol ( self,
int Index )

◆ GetCol0()

vec3 coat.mat3.GetCol0 ( self)

◆ GetCol1()

vec3 coat.mat3.GetCol1 ( self)

◆ GetCol2()

vec3 coat.mat3.GetCol2 ( self)

◆ GetElem()

float coat.mat3.GetElem ( self,
int Row,
int Col )

◆ GetRow()

vec3 coat.mat3.GetRow ( self,
int Index )

◆ GetRow0()

vec3 coat.mat3.GetRow0 ( self)

◆ GetRow1()

vec3 coat.mat3.GetRow1 ( self)

◆ GetRow2()

vec3 coat.mat3.GetRow2 ( self)

◆ Invert()

bool coat.mat3.Invert ( mat3 Fm,
mat3 To )
static

◆ IsIdentity()

bool coat.mat3.IsIdentity ( self,
float Eps )

◆ IsOrthonormal()

bool coat.mat3.IsOrthonormal ( self,
float Eps )

◆ IsSymmetric()

bool coat.mat3.IsSymmetric ( self,
float Eps )

◆ IsZero()

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

◆ Mul() [1/2]

coat.mat3.Mul ( self,
float s )

◆ Mul() [2/2]

coat.mat3.Mul ( self,
mat3 R )

◆ OrthoNormalize()

mat3 coat.mat3.OrthoNormalize ( mat3 Src)
static

◆ Rotation()

mat3 coat.mat3.Rotation ( vec3 Axis,
float Angle )
static

◆ RotationX()

mat3 coat.mat3.RotationX ( float Angle)
static

◆ RotationXYZ()

mat3 coat.mat3.RotationXYZ ( float Pitch,
float Yaw,
float Roll )
static

◆ RotationY()

mat3 coat.mat3.RotationY ( float Angle)
static

◆ RotationZ()

mat3 coat.mat3.RotationZ ( float Angle)
static

◆ Row()

vec3 coat.mat3.Row ( self,
int Index )

◆ Row0()

vec3 coat.mat3.Row0 ( self)

◆ Row1()

vec3 coat.mat3.Row1 ( self)

◆ Row2()

vec3 coat.mat3.Row2 ( self)

◆ Scaling() [1/5]

mat3 coat.mat3.Scaling ( float X,
float Y )
static

◆ Scaling() [2/5]

mat3 coat.mat3.Scaling ( float X,
float Y,
float Z )
static

◆ Scaling() [3/5]

mat3 coat.mat3.Scaling ( float XYZ)
static

◆ Scaling() [4/5]

mat3 coat.mat3.Scaling ( vec2 XY)
static

◆ Scaling() [5/5]

mat3 coat.mat3.Scaling ( vec3 XYZ)
static

◆ SetCol() [1/2]

coat.mat3.SetCol ( self,
int Index,
float X,
float Y,
float Z )

◆ SetCol() [2/2]

coat.mat3.SetCol ( self,
int Index,
vec3 _1 )

◆ SetCol0() [1/2]

coat.mat3.SetCol0 ( self,
float X,
float Y,
float Z )

◆ SetCol0() [2/2]

coat.mat3.SetCol0 ( self,
vec3 _0 )

◆ SetCol1() [1/2]

coat.mat3.SetCol1 ( self,
float X,
float Y,
float Z )

◆ SetCol1() [2/2]

coat.mat3.SetCol1 ( self,
vec3 _0 )

◆ SetCol2() [1/2]

coat.mat3.SetCol2 ( self,
float X,
float Y,
float Z )

◆ SetCol2() [2/2]

coat.mat3.SetCol2 ( self,
vec3 _0 )

◆ SetElem()

coat.mat3.SetElem ( self,
int Row,
int Col,
float Value )

◆ SetIdentity()

coat.mat3.SetIdentity ( self)

◆ SetRow() [1/2]

coat.mat3.SetRow ( self,
int Index,
float X,
float Y,
float Z )

◆ SetRow() [2/2]

coat.mat3.SetRow ( self,
int Index,
vec3 _1 )

◆ SetRow0() [1/2]

coat.mat3.SetRow0 ( self,
float X,
float Y,
float Z )

◆ SetRow0() [2/2]

coat.mat3.SetRow0 ( self,
vec3 _0 )

◆ SetRow1() [1/2]

coat.mat3.SetRow1 ( self,
float X,
float Y,
float Z )

◆ SetRow1() [2/2]

coat.mat3.SetRow1 ( self,
vec3 _0 )

◆ SetRow2() [1/2]

coat.mat3.SetRow2 ( self,
float X,
float Y,
float Z )

◆ SetRow2() [2/2]

coat.mat3.SetRow2 ( self,
vec3 _0 )

◆ SetZero()

coat.mat3.SetZero ( self)

◆ Sub()

coat.mat3.Sub ( self,
mat3 R )

◆ ToAngles()

angles coat.mat3.ToAngles ( self)

◆ ToFloatPtr() [1/2]

float coat.mat3.ToFloatPtr ( self)

◆ ToFloatPtr() [2/2]

float coat.mat3.ToFloatPtr ( self)

◆ ToForward()

vec3 coat.mat3.ToForward ( self)

◆ ToMat4()

mat4 coat.mat3.ToMat4 ( self)

◆ ToQuat()

quat coat.mat3.ToQuat ( self)

◆ ToRight()

vec3 coat.mat3.ToRight ( self)

◆ ToUp()

vec3 coat.mat3.ToUp ( self)

◆ ToVectors()

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

◆ Trace()

float coat.mat3.Trace ( self)

◆ Transpose()

mat3 coat.mat3.Transpose ( mat3 _0)
static

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