GET gets xyzdata properties. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: GET gets xyzdata properties. CALL: name = get(xyz, 'name'); x = get(xyz, 'x'); y = get(xyz, 'y'); z = get(xyz, 'z'); xunits = get(xyz, 'xunits'); yunits = get(xyz, 'yunits'); zunits = get(xyz, 'zunits'); created = get(xyz, 'created'); version = get(xyz, 'version'); VERSION: $Id: get.html,v 1.7 2008/03/31 10:27:43 hewitson Exp $ HISTORY: 30-01-2007 Hewitson Creation %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0001 function val = get(xyz, propName) 0002 % GET gets xyzdata properties. 0003 % 0004 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0005 % 0006 % DESCRIPTION: GET gets xyzdata properties. 0007 % 0008 % CALL: name = get(xyz, 'name'); 0009 % x = get(xyz, 'x'); 0010 % y = get(xyz, 'y'); 0011 % z = get(xyz, 'z'); 0012 % xunits = get(xyz, 'xunits'); 0013 % yunits = get(xyz, 'yunits'); 0014 % zunits = get(xyz, 'zunits'); 0015 % created = get(xyz, 'created'); 0016 % version = get(xyz, 'version'); 0017 % 0018 % VERSION: $Id: get.html,v 1.7 2008/03/31 10:27:43 hewitson Exp $ 0019 % 0020 % HISTORY: 30-01-2007 Hewitson 0021 % Creation 0022 % 0023 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0024 0025 VERSION = '$Id: get.html,v 1.7 2008/03/31 10:27:43 hewitson Exp $'; 0026 CATEGORY = 'Helper'; 0027 DEFAULT_PLIST = plist('property', ''); 0028 0029 val = generic_get(xyz, propName, DEFAULT_PLIST, VERSION, CATEGORY);