ISTRANSFORM3D Check if input is a affine transformation matrix.

   A = isTransform3d(TRANS) where TRANS should be a transformation matrix.
   The function accepts transformations given using the following formats:
   [a b c]   ,   [a b c j] , or  [a b c j]
   [d e f]       [d e f k]       [d e f k]
   [g h i]       [g h i l]       [g h i l]
                                 [0 0 0 1]
   
   If the transformation matrix should only contain rotation and
   translation without reflection, scaling, shearing, ... set 'rotation'
   to true. Default is false.

   Example
     rot = ...
         createRotationOx(rand*2*pi)*...
         createRotationOy(rand*2*pi)*...
         createRotationOx(rand*2*pi);
     trans = rot*createTranslation3d(rand(1,3));
     isTransform3d(trans, 'rot', true)

   See also
   composeTransforms3d, createBasisTransform3d, recenterTransform3d,
   transformPoint3d

 ------
 Author: oqilipo
 Created: 2018-07-08
 Copyright 2018

Package: matgeom