CREATETRANSLATION Create the 3*3 matrix of a translation.

   TRANS = createTranslation(DX, DY);
   Returns the translation corresponding to DX and DY.
   The returned matrix has the form :
   [1 0 TX]
   [0 1 TY]
   [0 0  1]

   TRANS = createTranslation(VECTOR);
   Returns the matrix corresponding to a translation by the vector [x y].


   See also:
   transforms2d, transformPoint, createRotation, createScaling

   ---------
   author : David Legland 
   INRA - TPV URPOI - BIA IMASTE
   created the 06/04/2004.

Package: matgeom