function p2 = ij_translate ( p, d )

%*****************************************************************************80
%
%% ij_translate() translates (i,j) coordinates by a given displacement.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    11 November 2020
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer P(2): the IJ parallelogram coordinates of a point.
%
%    integer D(2): the displacement vector.
%
%  Output:
%
%    integer P2(2): the IJ parallelogram coordinates of the translated point.
%
  p2 = [ p(1) + d(1), p(2) + d(2) ];

  return
end

