Fit 3D affine transform using iterative algorithm.

   TRANS = registerPoints3dAffine(POINTS, TARGET)
   Computes the affine transform that maps the shape defines by POINTS
   onto the shape defined by the points TARGET. Both POINTS and TARGET are
   N-by-3 array of point coordinates, not necessarily the same size.
   The result TRANS is a 4-by-4 affine transform.

   TRANS = registerPoints3dAffine(POINTS, TARGET, NITER)
   Specifies the number of iterations for the algorithm.

   [TRANS, POINTS2] = registerPoints3dAffine(...)
   Also returns the set of transformed points.

   Example
     registerPoints3dAffine

   See also
     transforms3d, fitAffineTransform3d

Package: matgeom