function e2 = edge_translate ( e, d )

%*****************************************************************************80
%
%% edge_translate() translates a polyiamond described by its edge list.
%
%  Discussion:
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    12 November 2020
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer E(EN,2): the edge list.
%
%    integer D(2): the translation.
%
%  Output:
%
%    integer E2(EN,2): the edge list of the translated polyiamond.
%
  e2 = zeros ( size ( e ) );

  e2(:,1) = e(:,1) + d(1);
  e2(:,2) = e(:,2) + d(2);

  return
end

