function Value = getData(this,fld)
% Return field from private Data object

%   Author: A. Stothert
%   Copyright 1986-2004 The MathWorks, Inc. 
%   $Revision: 1.1.6.1 $ $Date: 2004/12/10 19:31:01 $

%Wrapper method to retrieve properties from private data object
if ishandle(this.Data)
   Value = this.Data.(fld);
else
   %No data type defined
   tmpData = plotconstr.polygondata;
   Value = tmpData.(fld);
end