function t2 = triangle_translate ( t, d )

%*****************************************************************************80
%
%% triangle_translate() translates a polyiamond described by its triangle list.
%
%  Discussion:
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    12 November 2020
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer T(TN,2): the triangle list.
%
%    integer D(2): the translation.
%
%  Output:
%
%    integer T2(TN,2): the triangle list of the translated polyiamond.
%
  t2 = zeros ( size ( t ) );

  t2(:,1) = t(:,1) + d(1);
  t2(:,2) = t(:,2) + d(2);
  t2(:,3) = t(:,3);

  return
end

