00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef _SCI_VECT2_MATRIX_H_
00010 #define _SCI_VECT2_MATRIX_H_
00011
00012 #include "sciMatrix.h"
00013
00014
00015
00016 typedef sciMatrix Vect2iMatrix ;
00017
00018
00019 int * getVect2iMatElement( const Vect2iMatrix * mat, int row, int col ) ;
00020
00021
00022 void copyVect2iMatElement( Vect2iMatrix * mat,
00023 int row ,
00024 int col ,
00025 const int copyValue[2] ) ;
00026
00027
00028 void rotateVect2iMatrix( Vect2iMatrix * mat, int center[2], double angle ) ;
00029
00033 void translateVect2iMatrix( Vect2iMatrix * mat, int trans[2] ) ;
00034
00035
00036 void homothVect2iMatrix( Vect2iMatrix * mat, int center[2], double factors[2] ) ;
00037
00038
00039
00040 typedef sciMatrix Vect2dMatrix ;
00041
00042
00043 double * getVect2dMatElement( const Vect2dMatrix * mat, int row, int col ) ;
00044
00045
00046 void copyVect2dMatElement( Vect2dMatrix * mat,
00047 int row ,
00048 int col ,
00049 const double copyValue[2] ) ;
00050
00054 void translateVect2dMatrix( Vect2dMatrix * mat, double trans[2] ) ;
00055
00056
00057 void rotateVect2dMatrix( Vect2dMatrix * mat, double center[2], double angle ) ;
00058
00059
00060 void homothVect2dMatrix( Vect2dMatrix * mat, double center[2], double factors[2] ) ;
00061
00062
00063
00064
00065 #endif