MaxPlus Python API Reference
Matrix3 Class Reference
+ Inheritance diagram for Matrix3:

Public Member Functions

def Equals (self, *args)
 
def GetColumn (self, *args)
 
def GetColumn3 (self, *args)
 
def GetIdentity ()
 
def GetNumColumns (self)
 
def GetNumRows (self)
 
def GetParity (self)
 
def GetPitch (self)
 
def GetRoll (self)
 
def GetRotation (self)
 
def GetRow (self, *args)
 
def GetScale (self)
 
def GetTranslation (self)
 
def GetValue (self, *args)
 
def GetYaw (self)
 
def Invert (self)
 
def IsIdentity (self)
 
def NoRot (self)
 
def NoScale (self)
 
def NoTrans (self)
 
def Orthogonalize (self)
 
def PointTransform (self, *args)
 
def PreRotate (self, *args)
 
def PreRotateX (self, *args)
 
def PreRotateY (self, *args)
 
def PreRotateZ (self, *args)
 
def PreScale (self, *args)
 
def PreTranslate (self, *args)
 
def Rotate (self, *args)
 
def RotateX (self, *args)
 
def RotateY (self, *args)
 
def RotateZ (self, *args)
 
def ScaleEx (self, *args)
 
def Set (self, *args)
 
def SetAngleAxis (self, *args)
 
def SetColumn (self, *args)
 
def SetFromToUp (self, *args)
 
def SetRotateX (self, *args)
 
def SetRotateY (self, *args)
 
def SetRotateZ (self, *args)
 
def SetRotation (self, *args)
 
def SetRow (self, *args)
 
def SetScale (self, *args)
 
def SetToRotation (self, *args)
 
def SetToScale (self, *args)
 
def SetTranslate (self, *args)
 
def SetTranslation (self, *args)
 
def ToIdentity (self)
 
def Translate (self, *args)
 
def ValidateFlags (self)
 
def VectorTransform (self, *args)
 
def Zero (self)
 
- Public Member Functions inherited from Wrapper
def GetUnwrappedPtr (self)
 

Public Attributes

 this
 

Static Public Attributes

 Columns = _swig_property(lambda self: (self.GetColumn(i) for i in xrange(self.GetNumColumns())))
 
 GetIdentity = staticmethod(GetIdentity)
 
 Rotation = _swig_property(GetRotation, SetRotation)
 
 Rows = _swig_property(lambda self: (self.GetRow(i) for i in xrange(self.GetNumRows())))
 
 Scale = _swig_property(GetScale, SetScale)
 
 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
 Translation = _swig_property(GetTranslation, SetTranslation)
 
- Static Public Attributes inherited from Wrapper
 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 

Detailed Description

Implements a 4x3 3D transformation matrix object.

Member Function Documentation

◆ Equals()

def Equals (   self,
args 
)
Equals(Matrix3 self, Matrix3 M, float epsilon=1E-6) -> bool
Equals(Matrix3 self, Matrix3 M) -> bool

◆ GetColumn()

def GetColumn (   self,
args 
)
GetColumn(Matrix3 self, int i) -> Point4

◆ GetColumn3()

def GetColumn3 (   self,
args 
)
GetColumn3(Matrix3 self, int i) -> Point3

◆ GetIdentity()

def GetIdentity ( )
GetIdentity() -> Matrix3

◆ GetNumColumns()

def GetNumColumns (   self)
GetNumColumns(Matrix3 self) -> int

◆ GetNumRows()

def GetNumRows (   self)
GetNumRows(Matrix3 self) -> int

◆ GetParity()

def GetParity (   self)
GetParity(Matrix3 self) -> bool

◆ GetPitch()

def GetPitch (   self)
GetPitch(Matrix3 self) -> float

◆ GetRoll()

def GetRoll (   self)
GetRoll(Matrix3 self) -> float

◆ GetRotation()

def GetRotation (   self)
GetRotation(Matrix3 self) -> Quat

◆ GetRow()

def GetRow (   self,
args 
)
GetRow(Matrix3 self, int i) -> Point3

◆ GetScale()

def GetScale (   self)
GetScale(Matrix3 self) -> Point3

◆ GetTranslation()

def GetTranslation (   self)
GetTranslation(Matrix3 self) -> Point3

◆ GetValue()

def GetValue (   self,
args 
)
GetValue(Matrix3 self, int i, int j) -> float

◆ GetYaw()

def GetYaw (   self)
GetYaw(Matrix3 self) -> float

◆ Invert()

def Invert (   self)
Invert(Matrix3 self)

◆ IsIdentity()

def IsIdentity (   self)
IsIdentity(Matrix3 self) -> bool

◆ NoRot()

def NoRot (   self)
NoRot(Matrix3 self)

◆ NoScale()

def NoScale (   self)
NoScale(Matrix3 self)

◆ NoTrans()

def NoTrans (   self)
NoTrans(Matrix3 self)

◆ Orthogonalize()

def Orthogonalize (   self)
Orthogonalize(Matrix3 self)

◆ PointTransform()

def PointTransform (   self,
args 
)
PointTransform(Matrix3 self, Point3 p) -> Point3

◆ PreRotate()

def PreRotate (   self,
args 
)
PreRotate(Matrix3 self, Quat q)

◆ PreRotateX()

def PreRotateX (   self,
args 
)
PreRotateX(Matrix3 self, float angle)

◆ PreRotateY()

def PreRotateY (   self,
args 
)
PreRotateY(Matrix3 self, float angle)

◆ PreRotateZ()

def PreRotateZ (   self,
args 
)
PreRotateZ(Matrix3 self, float angle)

◆ PreScale()

def PreScale (   self,
args 
)
PreScale(Matrix3 self, Point3 s, bool trans=True)
PreScale(Matrix3 self, Point3 s)

◆ PreTranslate()

def PreTranslate (   self,
args 
)
PreTranslate(Matrix3 self, Point3 p)

◆ Rotate()

def Rotate (   self,
args 
)
Rotate(Matrix3 self, Quat q)

◆ RotateX()

def RotateX (   self,
args 
)
RotateX(Matrix3 self, float angle)

◆ RotateY()

def RotateY (   self,
args 
)
RotateY(Matrix3 self, float angle)

◆ RotateZ()

def RotateZ (   self,
args 
)
RotateZ(Matrix3 self, float angle)

◆ ScaleEx()

def ScaleEx (   self,
args 
)
ScaleEx(Matrix3 self, Point3 s, bool trans=True)
ScaleEx(Matrix3 self, Point3 s)

◆ Set()

def Set (   self,
args 
)
Set(Matrix3 self, Point3 U, Point3 V, Point3 N, Point3 T) -> Matrix3

◆ SetAngleAxis()

def SetAngleAxis (   self,
args 
)
SetAngleAxis(Matrix3 self, Point3 axis, float angle)

◆ SetColumn()

def SetColumn (   self,
args 
)
SetColumn(Matrix3 self, int i, Point4 col)

◆ SetFromToUp()

def SetFromToUp (   self,
args 
)
SetFromToUp(Matrix3 self, Point3 other, Point3 _to, Point3 up)

◆ SetRotateX()

def SetRotateX (   self,
args 
)
SetRotateX(Matrix3 self, float angle)

◆ SetRotateY()

def SetRotateY (   self,
args 
)
SetRotateY(Matrix3 self, float angle)

◆ SetRotateZ()

def SetRotateZ (   self,
args 
)
SetRotateZ(Matrix3 self, float angle)

◆ SetRotation()

def SetRotation (   self,
args 
)
SetRotation(Matrix3 self, Quat q)

◆ SetRow()

def SetRow (   self,
args 
)
SetRow(Matrix3 self, int i, Point3 p)

◆ SetScale()

def SetScale (   self,
args 
)
SetScale(Matrix3 self, Point3 s)

◆ SetToRotation()

def SetToRotation (   self,
args 
)
SetToRotation(Matrix3 self, Quat q)
SetToRotation(Matrix3 self, AngAxis aa)
SetToRotation(Matrix3 self, float yaw, float pitch, float rotation)

◆ SetToScale()

def SetToScale (   self,
args 
)
SetToScale(Matrix3 self, Point3 s)

◆ SetTranslate()

def SetTranslate (   self,
args 
)
SetTranslate(Matrix3 self, Point3 p)

◆ SetTranslation()

def SetTranslation (   self,
args 
)
SetTranslation(Matrix3 self, Point3 p)

◆ ToIdentity()

def ToIdentity (   self)
ToIdentity(Matrix3 self)

◆ Translate()

def Translate (   self,
args 
)
Translate(Matrix3 self, Point3 p)

◆ ValidateFlags()

def ValidateFlags (   self)
ValidateFlags(Matrix3 self)

◆ VectorTransform()

def VectorTransform (   self,
args 
)
VectorTransform(Matrix3 self, Point3 p) -> Point3

◆ Zero()

def Zero (   self)
Zero(Matrix3 self)