function vertex_print ( v, label )

%*****************************************************************************80
%
%% vertex_print() prints the vertices bounding a polyiamond.
%
%  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:
%
%    11 November 2020
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer V(VN,2), the IJ parallelogram point coordinates of the 
%    vertices bounding the polyiamond.  
%
%    string LABEL, a label to be printed.  
%
  fprintf ( 1, '\n' );
  fprintf ( 1, '%s\n', label );
  fprintf ( 1, '\n' );

  vn = size ( v, 1 );

  if ( vn <= 0 )
    fprintf ( 1, '  [ Null array ]\n' );
  else
    for i = 1 : vn
      fprintf ( 1, '  %2d:', i );
      for j = 1 : 2
        fprintf ( 1, ' %d', v(i,j) );
      end
      fprintf ( 1, '\n' );
    end
  end

  return
end

