function v2 = vertex_translate ( v, d )

%*****************************************************************************80
%
%% vertex_translate() translates a polyiamond described by its vertex list.
%
%  Discussion:
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    12 November 2020
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer V(VN,2): the vertex list.
%
%    integer D(2): the translation.
%
%  Output:
%
%    integer V2(VN,2): the vertex list of the translated polyiamond.
%
  v2 = zeros ( size ( v ) );

  v2(:,1) = v(:,1) + d(1);
  v2(:,2) = v(:,2) + d(2);

  return
end

