function name = name_hexiamond ( index )

%*****************************************************************************80
%
%% name_hexiamond() returns the name of hexiamonds 1 through 12.
%
%  Discussion:
%
%    There is a standard name for each hexiamond, suggested by its shape.  
%
%     1  bat (chevron)
%     2  butterfly
%     3  club (crook)
%     4  crown
%     5  hexagon
%     6  lobster
%     7  pistol (signpost)
%     8  rhomboid (bar)
%     9  shoe (hook)
%    10  snake
%    11  sphinx
%    12  yacht
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    06 November 2020
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer INDEX, a value between 1 and 12.
%
%  Output:
%
%    character NAME, is the corresponding name.
%
  if ( index == 1 )
    name = 'bat';
  elseif ( index == 2 )
    name = 'butterfly';
  elseif ( index == 3 )
    name = 'club';
  elseif ( index == 4 )
    name = 'crown';
  elseif ( index == 5 )
    name = 'hexagon';
  elseif ( index == 6 )
    name = 'lobster';
  elseif ( index == 7 )
    name = 'pistol';
  elseif ( index == 8 )
    name = 'rhomboid';
  elseif ( index == 9 )
    name = 'shoe';
  elseif ( index == 10 )
    name = 'snake';
  elseif ( index == 11 )
    name = 'sphinx';
  elseif ( index == 12 )
    name = 'yacht';
  else
    name = '?';
  end

  return
end

