function trans = lineSymmetry(line)
%LINESYMMETRY create line symmetry as 2D affine transform.
%
%   TRANS = lineSymmetry(LINE);
%   where line is given as [x0 y0 dx dy], return the affine tansform
%   corresponding to the desired line symmetry
%
%
%   See also:
%   lines2d, transforms2d, transformPoint, translation, homothecy

% ------
% Author: David Legland 
% e-mail: david.legland@inrae.fr
% Created: 2005-01-19
% Copyright 2005 INRA - TPV URPOI - BIA IMASTE

% deprecation warning
warning('geom2d:deprecated', ...
    '''lineSymmetry'' is deprecated, use ''createLineReflection'' instead');

% call current implementation
trans = createLineReflection(line);
