INTERSECTTHREEPLANES Return intersection point between 3 planes in space.

   LINE = intersectThreePlanes(PLANE1, PLANE2, PLANE3)
   Returns the point or straight line belonging to three planes.
   PLANE:  [x0 y0 z0  dx1 dy1 dz1  dx2 dy2 dz2]
   POINT:  [x0 y0 z0]
   IF rank of the coefficient matrix r1 = 3 and
   Rank of the augmented matrix r2 = 3 return point
   Otherwise returns point with NaN values.

   See also:
   planes3d, intersectPlanes, intersectLinePlane

   ---------
   author : Roozbeh Geraili Mikola
   email  : roozbehg@berkeley.edu or roozbehg@live.com
   created the 09/20/2017.

Package: matgeom