A 4x4 matrix with methods for affine transformations.
|
|
|
|
|
__delitem__(x,
y)
del x[y] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
a new object with type S, a subtype of T
|
|
|
|
|
|
|
|
|
|
|
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value |
|
|
|
__setitem__(x,
i,
y)
x[i]=y |
|
|
|
|
None
|
makeIdentity(self)
Set this matrix to be the identity matrix. |
|
|
None
|
rotateX(self,
angleInRadians)
Post-multiply this matrix by a rotation around the X axis. |
|
|
None
|
rotateY(self,
angleInRadians)
Post-multiply this matrix by a rotation around the Y axis. |
|
|
None
|
rotateZ(self,
angleInRadians)
Post-multiply this matrix by a rotation around the Z axis. |
|
|
None
|
scale(self,
x,
y,
z)
Post-multiply this matrix by a scale transformation. |
|
|
None
|
skew(self,
x,
y,
z)
Post-multiply this matrix with a skew transformation. |
|
|
None
|
translate(self,
x,
y,
z)
Post-multiply this matrix by a translation matrix. |
|
|
None
|
translation(self,
x,
y,
z)
Set this matrix to be a translation matrix, replacing any existing
values. |
|
|
None
|
transpose(self)
Transpose the matrix in-place. |
|
|
Inherited from object :
__format__ ,
__hash__ ,
__init__ ,
__reduce__ ,
__reduce_ex__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|