3DCoat Python API
The 3DCoat Python API documentation.
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
coat.mat3 Class Reference

Public Member Functions

 __init__ (self)
 
 __init__ (self, _00=float, _01=float, _02=float, _10=float, _11=float, _12=float, _20=float, _21=float, _22=float)
 
 __init__ (self, v=mat3)
 
 Copy (self, Float9=float)
 
 CopyTransposed (self, Float9=float)
 
 SetZero (self)
 
 SetIdentity (self)
 
vec3 GetRow (self, Index=int)
 
vec3 GetRow0 (self)
 
vec3 GetRow1 (self)
 
vec3 GetRow2 (self)
 
vec3 Row (self, Index=int)
 
vec3 Row0 (self)
 
vec3 Row1 (self)
 
vec3 Row2 (self)
 
 SetRow (self, Index=int, _1=vec3)
 
 SetRow0 (self, _0=vec3)
 
 SetRow1 (self, _0=vec3)
 
 SetRow2 (self, _0=vec3)
 
 SetRow (self, Index=int, X=float, Y=float, Z=float)
 
 SetRow0 (self, X=float, Y=float, Z=float)
 
 SetRow1 (self, X=float, Y=float, Z=float)
 
 SetRow2 (self, X=float, Y=float, Z=float)
 
vec3 GetCol (self, Index=int)
 
vec3 GetCol0 (self)
 
vec3 GetCol1 (self)
 
vec3 GetCol2 (self)
 
 SetCol (self, Index=int, _1=vec3)
 
 SetCol0 (self, _0=vec3)
 
 SetCol1 (self, _0=vec3)
 
 SetCol2 (self, _0=vec3)
 
 SetCol (self, Index=int, X=float, Y=float, Z=float)
 
 SetCol0 (self, X=float, Y=float, Z=float)
 
 SetCol1 (self, X=float, Y=float, Z=float)
 
 SetCol2 (self, X=float, Y=float, Z=float)
 
 SetElem (self, Row=int, Col=int, Value=float)
 
float GetElem (self, Row=int, Col=int)
 
float Elem (self, Row=int, Col=int)
 
vec3 __getitem__ (self, Row=int)
 
vec3 __setitem__ (self, Row=int)
 
float __call__ (self, Row=int, Col=int)
 
float __call__ (self, Row=int, Col=int)
 
float Trace (self)
 
float Determinant (self)
 
bool __eq__ (self, _0=mat3)
 
bool Equals (_0=mat3, _1=mat3, Eps=float)
 
bool IsZero (self, Eps=float)
 
bool IsIdentity (self, Eps=float)
 
bool IsSymmetric (self, Eps=float)
 
bool IsOrthonormal (self, Eps=float)
 
mat3 __neg__ (self)
 
mat3 __iadd__ (self, R=mat3)
 
mat3 __isub__ (self, R=mat3)
 
mat3 __imul__ (self, R=mat3)
 
mat3 __imul__ (self, _0=float)
 
mat3 __itruediv__ (self, _0=float)
 
mat3 __add__ (self, R=mat3)
 
mat3 __sub__ (self, R=mat3)
 
mat3 __mul__ (self, R=mat3)
 
mat3 __mul__ (self, _0=float)
 
mat3 __truediv__ (self, _0=float)
 
 Add (self, R=mat3)
 
 Sub (self, R=mat3)
 
 Mul (self, R=mat3)
 
 Mul (self, s=float)
 
mat3 Transpose (_0=mat3)
 
bool Invert (Fm=mat3, To=mat3)
 
mat3 OrthoNormalize (Src=mat3)
 
mat3 Rotation (Axis=vec3, Angle=float)
 
mat3 RotationX (Angle=float)
 
mat3 RotationY (Angle=float)
 
mat3 RotationZ (Angle=float)
 
mat3 RotationXYZ (Pitch=float, Yaw=float, Roll=float)
 
mat3 EulerZYX (eulerX=float, eulerY=float, eulerZ=float)
 
mat3 Scaling (XYZ=float)
 
mat3 Scaling (X=float, Y=float)
 
mat3 Scaling (X=float, Y=float, Z=float)
 
mat3 Scaling (XY=vec2)
 
mat3 Scaling (XYZ=vec3)
 
float ToFloatPtr (self)
 
float ToFloatPtr (self)
 
mat4 ToMat4 (self)
 
quat ToQuat (self)
 
 ToVectors (self, Forward=vec3, Right=vec3, Up=vec3)
 
mat3 FromVectors (Forward=vec3, Right=vec3, Up=vec3)
 
mat3 FromForward (Forward=vec3)
 
vec3 ToForward (self)
 
vec3 ToRight (self)
 
vec3 ToUp (self)
 
angles ToAngles (self)
 

Static Public Attributes

mat3 Zero
 
mat3 Identity
 

Constructor & Destructor Documentation

◆ __init__() [1/3]

coat.mat3.__init__ (   self)

◆ __init__() [2/3]

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

◆ __init__() [3/3]

coat.mat3.__init__ (   self,
  v = mat3 
)

Member Function Documentation

◆ __add__()

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

◆ __call__() [1/2]

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

◆ __call__() [2/2]

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

◆ __eq__()

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

◆ __getitem__()

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

◆ __iadd__()

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

◆ __imul__() [1/2]

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

◆ __imul__() [2/2]

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

◆ __isub__()

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

◆ __itruediv__()

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

◆ __mul__() [1/2]

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

◆ __mul__() [2/2]

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

◆ __neg__()

mat3 coat.mat3.__neg__ (   self)

◆ __setitem__()

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

◆ __sub__()

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

◆ __truediv__()

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

◆ Add()

coat.mat3.Add (   self,
  R = mat3 
)

◆ Copy()

coat.mat3.Copy (   self,
  Float9 = float 
)

◆ CopyTransposed()

coat.mat3.CopyTransposed (   self,
  Float9 = float 
)

◆ Determinant()

float coat.mat3.Determinant (   self)

◆ Elem()

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

◆ Equals()

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

◆ EulerZYX()

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

◆ FromForward()

mat3 coat.mat3.FromForward (   Forward = vec3)

◆ FromVectors()

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

◆ GetCol()

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

◆ GetCol0()

vec3 coat.mat3.GetCol0 (   self)

◆ GetCol1()

vec3 coat.mat3.GetCol1 (   self)

◆ GetCol2()

vec3 coat.mat3.GetCol2 (   self)

◆ GetElem()

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

◆ GetRow()

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

◆ GetRow0()

vec3 coat.mat3.GetRow0 (   self)

◆ GetRow1()

vec3 coat.mat3.GetRow1 (   self)

◆ GetRow2()

vec3 coat.mat3.GetRow2 (   self)

◆ Invert()

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

◆ IsIdentity()

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

◆ IsOrthonormal()

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

◆ IsSymmetric()

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

◆ IsZero()

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

◆ Mul() [1/2]

coat.mat3.Mul (   self,
  R = mat3 
)

◆ Mul() [2/2]

coat.mat3.Mul (   self,
  s = float 
)

◆ OrthoNormalize()

mat3 coat.mat3.OrthoNormalize (   Src = mat3)

◆ Rotation()

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

◆ RotationX()

mat3 coat.mat3.RotationX (   Angle = float)

◆ RotationXYZ()

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

◆ RotationY()

mat3 coat.mat3.RotationY (   Angle = float)

◆ RotationZ()

mat3 coat.mat3.RotationZ (   Angle = float)

◆ Row()

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

◆ 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 (   X = float,
  Y = float 
)

◆ Scaling() [2/5]

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

◆ Scaling() [3/5]

mat3 coat.mat3.Scaling (   XY = vec2)

◆ Scaling() [4/5]

mat3 coat.mat3.Scaling (   XYZ = float)

◆ Scaling() [5/5]

mat3 coat.mat3.Scaling (   XYZ = vec3)

◆ SetCol() [1/2]

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

◆ SetCol() [2/2]

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

◆ SetCol0() [1/2]

coat.mat3.SetCol0 (   self,
  _0 = vec3 
)

◆ SetCol0() [2/2]

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

◆ SetCol1() [1/2]

coat.mat3.SetCol1 (   self,
  _0 = vec3 
)

◆ SetCol1() [2/2]

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

◆ SetCol2() [1/2]

coat.mat3.SetCol2 (   self,
  _0 = vec3 
)

◆ SetCol2() [2/2]

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

◆ SetElem()

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

◆ SetIdentity()

coat.mat3.SetIdentity (   self)

◆ SetRow() [1/2]

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

◆ SetRow() [2/2]

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

◆ SetRow0() [1/2]

coat.mat3.SetRow0 (   self,
  _0 = vec3 
)

◆ SetRow0() [2/2]

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

◆ SetRow1() [1/2]

coat.mat3.SetRow1 (   self,
  _0 = vec3 
)

◆ SetRow1() [2/2]

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

◆ SetRow2() [1/2]

coat.mat3.SetRow2 (   self,
  _0 = vec3 
)

◆ SetRow2() [2/2]

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

◆ SetZero()

coat.mat3.SetZero (   self)

◆ Sub()

coat.mat3.Sub (   self,
  R = mat3 
)

◆ 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,
  Forward = vec3,
  Right = vec3,
  Up = vec3 
)

◆ Trace()

float coat.mat3.Trace (   self)

◆ Transpose()

mat3 coat.mat3.Transpose (   _0 = mat3)

Member Data Documentation

◆ Identity

mat3 coat.mat3.Identity
static

◆ Zero

mat3 coat.mat3.Zero
static

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