| Trees | Index | Help |
|
|---|
| Package svs_simulation :: Package numdata :: Module matrices :: Class Matrix2D |
|
| Method Summary | |
|---|---|
__init__(self)
| |
Rotate matrix by specified angle. | |
Create an identity matrix. | |
Multiply another matrix with this one. | |
Scale matrix by specified dimensions. | |
Applies a 2D transformation matrix to a single svs_demogame.numdata.vectors.Vector2D. | |
Applies a 2D transformation matrix to an array of svs_demogame.numdata.vectors.Vector2Ds. | |
Transform matrix on x and y axes. | |
Rotate matrix by specified 2 vectors. | |
| Method Details |
|---|
angleRotation(self, angle)Rotate matrix by specified angle.
|
identity(self)Create an identity matrix. |
matrixMultiply(self, otherMatrix)Multiply another matrix with this one. |
scale(self, xScale, yScale)Scale matrix by specified dimensions.
|
transformVector2D(self, vector)Applies a 2D transformation matrix to a singlesvs_demogame.numdata.vectors.Vector2D.
|
transformVector2DList(self, vectors)Applies a 2D transformation matrix to an array ofsvs_demogame.numdata.vectors.Vector2Ds.
|
translate(self, x, y)Transform matrix on x and y axes.
|
vectorRotation(self, fwdVector, sideVector)Rotate matrix by specified 2 vectors.
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Oct 20 15:30:30 2005 | http://epydoc.sf.net |