Changeset 6479
- Timestamp:
- 11/03/10 08:28:50 (14 years ago)
- Location:
- issm/trunk/src/m/kml
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/kml/kml_colorstyle.m
r6456 r6479 80 80 end 81 81 82 % return the fieldnames of the object 83 84 function [fnames]=fieldnames(kml) 85 86 % fieldnames for a sub (derived) class list those before super (base) 87 88 fnames=fieldnames(kml_substyle()); 89 fnames={fnames{:} ... 90 'color' ... 91 'colormode' ... 92 }'; 93 94 end 95 82 96 % set the properties of the object 83 97 -
issm/trunk/src/m/kml/kml_container.m
r6456 r6479 80 80 end 81 81 82 % return the fieldnames of the object 83 84 function [fnames]=fieldnames(kml) 85 86 % fieldnames for a sub (derived) class list those before super (base) 87 88 fnames=fieldnames(kml_feature()); 89 90 end 91 82 92 % set the properties of the object 83 93 -
issm/trunk/src/m/kml/kml_document.m
r6456 r6479 79 79 end 80 80 81 % return the fieldnames of the object 82 83 function [fnames]=fieldnames(kml) 84 85 % fieldnames for a sub (derived) class list those before super (base) 86 87 fnames=fieldnames(kml_feature()); 88 fnames={fnames{:} ... 89 'feature' ... 90 }'; 91 92 end 93 81 94 % set the properties of the object 82 95 -
issm/trunk/src/m/kml/kml_feature.m
r6456 r6479 97 97 end 98 98 99 % return the fieldnames of the object 100 101 function [fnames]=fieldnames(kml) 102 103 % fieldnames for a sub (derived) class list those before super (base) 104 105 fnames=fieldnames(kml_object()); 106 fnames={fnames{:} ... 107 'name' ... 108 'visibility' ... 109 'open' ... 110 'snippet' ... 111 'descript' ... 112 'styleurl' ... 113 'style' ... 114 }'; 115 116 end 117 99 118 % set the properties of the object 100 119 -
issm/trunk/src/m/kml/kml_folder.m
r6456 r6479 79 79 end 80 80 81 % return the fieldnames of the object 82 83 function [fnames]=fieldnames(kml) 84 85 % fieldnames for a sub (derived) class list those before super (base) 86 87 fnames=fieldnames(kml_container()); 88 fnames={fnames{:} ... 89 'feature' ... 90 }'; 91 92 end 93 81 94 % set the properties of the object 82 95 -
issm/trunk/src/m/kml/kml_geometry.m
r6456 r6479 73 73 end 74 74 75 % return the fieldnames of the object 76 77 function [fnames]=fieldnames(kml) 78 79 % fieldnames for a sub (derived) class list those before super (base) 80 81 fnames=fieldnames(kml_object()); 82 83 end 84 75 85 % set the properties of the object 76 86 -
issm/trunk/src/m/kml/kml_linearring.m
r6456 r6479 81 81 end 82 82 83 % return the fieldnames of the object 84 85 function [fnames]=fieldnames(kml) 86 87 % fieldnames for a sub (derived) class list those before super (base) 88 89 fnames=fieldnames(kml_geometry()); 90 fnames={fnames{:} ... 91 'extrude' ... 92 'tessellate' ... 93 'altmode' ... 94 'coords' ... 95 }'; 96 97 end 98 83 99 % set the properties of the object 84 100 -
issm/trunk/src/m/kml/kml_linestring.m
r6456 r6479 81 81 end 82 82 83 % return the fieldnames of the object 84 85 function [fnames]=fieldnames(kml) 86 87 % fieldnames for a sub (derived) class list those before super (base) 88 89 fnames=fieldnames(kml_geometry()); 90 fnames={fnames{:} ... 91 'extrude' ... 92 'tessellate' ... 93 'altmode' ... 94 'coords' ... 95 }'; 96 97 end 98 83 99 % set the properties of the object 84 100 -
issm/trunk/src/m/kml/kml_linestyle.m
r6456 r6479 73 73 end 74 74 75 % return the fieldnames of the object 76 77 function [fnames]=fieldnames(kml) 78 79 % fieldnames for a sub (derived) class list those before super (base) 80 81 fnames=fieldnames(kml_colorstyle()); 82 fnames={fnames{:} ... 83 'width' ... 84 }'; 85 86 end 87 75 88 % set the properties of the object 76 89 -
issm/trunk/src/m/kml/kml_multigeometry.m
r6456 r6479 58 58 end 59 59 60 % display the object 61 62 function []=disp(kml) 63 64 for i=1:numel(kml) 65 disp(sprintf('class ''%s'' object ''%s%s'' = \n',... 66 class(kml),inputname(1),string_dim(kml,i))); 67 disp@kml_geometry(kml(i)); 68 disp(sprintf(' geometry: %s %s\n' ,string_size(kml(i).geometry),... 69 class(kml(i).geometry))); 70 end 71 72 end 73 74 % return the fieldnames of the object 75 76 function [fnames]=fieldnames(kml) 77 78 % fieldnames for a sub (derived) class list those before super (base) 79 80 fnames=fieldnames(kml_geometry()); 81 fnames={fnames{:} ... 82 'geometry' ... 83 }'; 84 85 end 86 60 87 % set the properties of the object 61 88 … … 85 112 varargin{i},class(kmlref)); 86 113 end 87 end88 89 end90 91 % display the object92 93 function []=disp(kml)94 95 for i=1:numel(kml)96 disp(sprintf('class ''%s'' object ''%s%s'' = \n',...97 class(kml),inputname(1),string_dim(kml,i)));98 disp@kml_geometry(kml(i));99 disp(sprintf(' geometry: %s %s\n' ,string_size(kml(i).geometry),...100 class(kml(i).geometry)));101 114 end 102 115 -
issm/trunk/src/m/kml/kml_object.m
r6456 r6479 74 74 end 75 75 76 % return the fieldnames of the object 77 78 function [fnames]=fieldnames(kml) 79 80 % fieldnames for a sub (derived) class list those before super (base) 81 82 fnames={'id'}; 83 84 end 85 76 86 % set the properties of the object 77 87 -
issm/trunk/src/m/kml/kml_placemark.m
r6456 r6479 79 79 end 80 80 81 % return the fieldnames of the object 82 83 function [fnames]=fieldnames(kml) 84 85 % fieldnames for a sub (derived) class list those before super (base) 86 87 fnames=fieldnames(kml_feature()); 88 fnames={fnames{:} ... 89 'geometry' ... 90 }'; 91 92 end 93 81 94 % set the properties of the object 82 95 -
issm/trunk/src/m/kml/kml_polygon.m
r6456 r6479 82 82 class(kml(i).inner))); 83 83 end 84 85 end 86 87 % return the fieldnames of the object 88 89 function [fnames]=fieldnames(kml) 90 91 % fieldnames for a sub (derived) class list those before super (base) 92 93 fnames=fieldnames(kml_geometry()); 94 fnames={fnames{:} ... 95 'extrude' ... 96 'tessellate' ... 97 'altmode' ... 98 'outer' ... 99 'inner' ... 100 }'; 84 101 85 102 end -
issm/trunk/src/m/kml/kml_polystyle.m
r6456 r6479 76 76 end 77 77 78 % return the fieldnames of the object 79 80 function [fnames]=fieldnames(kml) 81 82 % fieldnames for a sub (derived) class list those before super (base) 83 84 fnames=fieldnames(kml_colorstyle()); 85 fnames={fnames{:} ... 86 'fill' ... 87 'outline' ... 88 }'; 89 90 end 91 78 92 % set the properties of the object 79 93 -
issm/trunk/src/m/kml/kml_style.m
r6460 r6479 96 96 end 97 97 98 % return the fieldnames of the object 99 100 function [fnames]=fieldnames(kml) 101 102 % fieldnames for a sub (derived) class list those before super (base) 103 104 fnames=fieldnames(kml_styleselector()); 105 fnames={fnames{:} ... 106 'icon' ... 107 'label' ... 108 'line' ... 109 'poly' ... 110 'balloon' ... 111 'list' ... 112 }'; 113 114 end 115 98 116 % set the properties of the object 99 117 -
issm/trunk/src/m/kml/kml_styleselector.m
r6456 r6479 73 73 end 74 74 75 % return the fieldnames of the object 76 77 function [fnames]=fieldnames(kml) 78 79 % fieldnames for a sub (derived) class list those before super (base) 80 81 fnames=fieldnames(kml_object()); 82 83 end 84 75 85 % set the properties of the object 76 86 -
issm/trunk/src/m/kml/kml_substyle.m
r6456 r6479 73 73 end 74 74 75 % return the fieldnames of the object 76 77 function [fnames]=fieldnames(kml) 78 79 % fieldnames for a sub (derived) class list those before super (base) 80 81 fnames=fieldnames(kml_object()); 82 83 end 84 75 85 % set the properties of the object 76 86
Note:
See TracChangeset
for help on using the changeset viewer.