#include <Matrix2D.hh>
the class represent a 3x3 matrix used for 2D transformation.
|
set the matrix to an identity matrix.
00053 { 00054 m_matrix[1] = m_matrix[2] = m_matrix[4] = m_matrix[5] = 0.0f ; 00055 m_matrix[0] = m_matrix[3] = 1.0f ; 00056 } |
|
print the matrix to an output stream. called by operator<<
00074 { 00075 using namespace std ; 00076 copy( begin( ), end( ), ostream_iterator<double>( os, " " ) ) ; 00077 return os ; 00078 } |