function [ imin, imax, jmin, jmax ] = vertex_range ( v )

%*****************************************************************************80
%
%% vertex_range() determines the range of a polyiamond from its vertex list.
%
%  Discussion:
%
%    The vertex list of a polyiamond gives the IJ coordinates of the
%    polygonal vertices, in counterclockwise order.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    29 October 2020
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer V(VN,2): the list of vertices.
%
%  Output:
%
%    integer IMIN, IMAX, JMIN, JMAX: the I and J ranges of the polyiamond.
%
  imin = min ( v(:,1) );
  imax = max ( v(:,1) );
  jmin = min ( v(:,2) );
  jmax = max ( v(:,2) );

  return
end

