function v = hexiamond_vertex_ij ( index )

%*****************************************************************************80
%
%% hexiamond_vertex_ij: the IJ vertices forming a hexiamond.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    07 September 2020
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer INDEX, a value between 1 and 12.
%
%  Output:
%
%    integer V(N,2): the (I,J) parallelogram point coordinates
%    of the N vertices that bound the hexiamond.
%

%
%  bat/chevron
% 
 if ( index == 1 )
    v = [ ... 
      0, 0; ...
      2, 0; ...
      2, 2; ...
      1, 2; ...
      1, 1; ...
      0, 1 ];
%
%  butterfly
%
  elseif ( index == 2 )
    v = [ ... 
      1, 0; ...
      3, 0; ...
      2, 1; ...
      2, 2; ...
      0, 2; ...
      1, 1 ];
%
%  club/crook
%
  elseif ( index == 3 )
    v = [ ... 
      1, 0; ...
      3, 0; ...
      3, 1; ...
      1, 1; ...
      0, 2; ...
      0, 1 ];
%
%  crown
%
  elseif ( index == 4 )
    v = [ ... 
      1, 0; ...
      3, 0; ...
      3, 1; ...
      2, 1; ...
      1, 2; ...
      1, 1; ...
      0, 1 ];
%
%  hexagon
%
  elseif ( index == 5 )
    v = [ ... 
      1, 0; ...
      2, 0; ...
      2, 1; ...
      1, 2; ...
      0, 2; ...
      0, 1 ];
%
%  lobster
%
  elseif ( index == 6 )
    v = [ ... 
      1, 0; ...
      1, 1; ...
      2, 0; ...
      2, 1; ...
      0, 3; ...
      0, 1 ];
%
%  pistol/signpost
%
  elseif ( index == 7 )
    v = [ ... 
      1, 0; ...
      1, 1; ...
      2, 1; ...
      2, 2; ...
      1, 2; ...
      0, 3; ...
      0, 1 ];
%
%  rhomboid/bar
%
  elseif ( index == 8 )
    v = [ ... 
      0, 0; ...
      3, 0; ...
      3, 1; ...
      0, 1 ];
%
%  shoe/hook
%
  elseif ( index == 9 )
    v = [ ... 
      0, 0; ...
      1, 0; ...
      1, 1; ...
      2, 0; ...
      2, 1; ...
      1, 2; ...
      0, 2 ];
%
%  snake
%
  elseif ( index == 10 )
    v = [ ... 
      1, 0; ...
      1, 1; ...
      2, 1; ...
      2, 2; ...
      1, 3; ...
      1, 2; ...
      0, 2; ...
      0, 1 ];
%
%  sphinx
%
  elseif ( index == 11 )
    v = [ ... 
      0, 0; ...
      3, 0; ...
      2, 1; ...
      1, 1; ...
      0, 2 ];
%
%  yacht
%
  elseif ( index == 12 )
    v = [ ... 
      0, 0; ...
      2, 0; ...
      2, 1; ...
      1, 2; ...
      1, 1; ...
      0, 2 ];
  else
    v = [];
  end

  return
end

