#include <Matrix22.hpp>
Public Methods | |
| JMatrix22 () | |
| virtual | ~JMatrix22 () |
| JMatrix22 (const JMatrix22 &src) | |
| void | clear () |
| void | print () |
| void | identity () |
| JMatrix22 | rotz (double rad) |
| JMatrix22 | mult (const JMatrix22 &mat) |
| JVector2 | mult (const JVector2 &v) |
| JMatrix22 () | |
| virtual | ~JMatrix22 () |
| JMatrix22 (const Matrix22 &src) | |
| void | clear () |
| void | print () |
| void | identity () |
| JMatrix22 | rotz (double rad) |
| JMatrix22 | mult (const JMatrix22 &mat) |
| JVector2 | mult (const Vector2 &v) |
Public Attributes | |
| double | m [4] |
Friends | |
| JVector2 | operator * (JMatrix22 &left, const JVector2 &v) |
| JMatrix22 | operator * (JMatrix22 &left, const JMatrix22 &m) |
|
|
Definition at line 13 of file Matrix22.cpp. 00013 {
00014 clear();
00015 }
|
|
|
Definition at line 17 of file Matrix22.cpp. 00017 { }
|
|
|
Definition at line 19 of file Matrix22.cpp. |
|
|
|
|
|
|
|
|
Definition at line 19 of file Matrix22.cpp. |
|
|
|
|
|
Definition at line 25 of file Matrix22.cpp. Referenced by JMatrix22().
|
|
|
|
|
|
Definition at line 36 of file Matrix22.cpp. 00036 {
00037 m[0] = 1;
00038 m[1] = 0;
00039 m[2] = 0;
00040 m[3] = 1;
00041 }
|
|
|
|
|
|
|
|
|
Definition at line 69 of file Matrix22.cpp. |
|
|
Definition at line 57 of file Matrix22.cpp. Referenced by operator *().
|
|
|
|
|
|
Definition at line 31 of file Matrix22.cpp. 00031 {
00032 printf("| %-+7.2f %-+7.2f|\n", m[0], m[2] );
00033 printf("| %-+7.2f %-+7.2f|\n\n", m[1], m[3] );
00034 }
|
|
|
|
|
|
Definition at line 44 of file Matrix22.cpp. |
|
||||||||||||
|
Definition at line 36 of file Matrix22.hpp. 00037 {
00038 return left.mult( m );
00039 }
|
|
||||||||||||
|
Definition at line 31 of file Matrix22.hpp. 00032 {
00033 return left.mult( v );
00034 }
|
|
|
Definition at line 32 of file Matrix22.hpp. Referenced by JMatrix22(), mult(), and rotz().
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001