function n = dim(pgon)
% dim - return dimension of the polygon (always two-dimensional)
%
% Syntax:
%    n = dim(pgon)
%
% Inputs:
%    pgon - polygon
%
% Outputs:
%    n - numeric
%
% Other m-files required: none
% Subfunctions: none
% MAT-files required: none
%
% See also: -

% Authors:       Mark Wetzlinger
% Written:       13-March-2020
% Last update:   ---
% Last revision: ---

% ------------------------------ BEGIN CODE -------------------------------

n = 2;

end

% ------------------------------ END OF CODE ------------------------------
