function plane_imp2normal_3d_test ( )

%*****************************************************************************80
%
%% plane_imp2normal_3d_test() tests plane_imp2normal_3d().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    07 April 2009
%
%  Author:
%
%    John Burkardt
%
  dim_num = 3;

  fprintf ( 1, '\n' );
  fprintf ( 1, 'plane_imp2normal_3d_test():\n' );
  fprintf ( 1, '  plane_imp2normal_3d() converts a plane in implicit\n' );
  fprintf ( 1, '  (A,B,C,D) form to point, normal form.\n' );

  a = 1.0;
  b = -2.0;
  c = -3.0;
  d = 6.0;
 
  fprintf ( 1, '\n' );
  fprintf ( 1, '  Input:\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '    (A,B,C,D) = %12f  %12f  %12f  %12f\n', a, b, c, d );

  [ pp, normal ] = plane_imp2normal_3d ( a, b, c, d );

  r8vec_print ( dim_num, pp, '  The point PP:' );

  r8vec_print ( dim_num, normal, '  Normal vector:' );

  return
end
