function [ xy, seed ] = quad_random ( seed )

%*****************************************************************************80
%
%% QUAD_RANDOM returns a random quadrilateral.
%
%  Description:
%
%    The quadrilateral is constrained in that the vertices must all lie
%    with the unit square.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    01 August 2018
%
%  Author:
%
%    John Burkardt
%
%  Parameters:
%
%    Input, integer SEED, a seed for the random number generator.
%
%    Output, real XY(2,4), the coordinates of the nodes of the quadrilateral.
%
%    Output, integer SEED, a seed for the random number generator.
%
  [ xy, seed ] = r8mat_uniform_01 ( 2, 4, seed );

  return
end
