function angles = quad_angles_degrees ( xy )

%*****************************************************************************80
%
%% QUAD_ANGLES_DEGREES computes the angles of a quadrilateral in degrees.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    01 August 2018
%
%  Author:
%
%    John Burkardt
%
%  Parameters:
%
%    Input, real XY(2,4), the X and Y coordinates
%    of the corners of the quadrilateral.  The corners should be
%    specified in clockwise or counterclockwise order.
%
%    Output, real ANGLES(4), the angles of the quadrilateral in degrees.
%
  angles = polygon_angles_2d ( 4, xy );
  angles = angles * 180.0 / pi;

  return
end
