% FUNCTION [...] = gf_slice_set(sl, operation)
% 
%   Edition of mesh slices.
% 
%   * gf_slice_set(SL,'pts',mat P)
%   Replace the points of the slice.  The new points `P` are stored in the columns
%   the matrix. Note that you can use the function to apply a deformation to a
%   slice, or to change the dimension of the slice (the number of rows of `P` is
%   not required to be equal to gf_slice_get(SL,'dim')).
% 
% 
%   $Id: gf_slice_set.cc 2869 2009-01-08 01:12:35Z lsaavedr $
function [varargout]=gf_slice_set(varargin)
  if (nargout),
    [varargout{1:nargout}]=gf_matlab('slice_set',varargin{:});
  else
    gf_matlab('slice_set',varargin{:});
    if (exist('ans','var') == 1), varargout{1}=ans; end;
  end;
