vytvoreni zakladnich funkci plistxyz() a coordxyz()
[plist.git] / isplist.m
blobdf54444449621cc1d1558c38b6160cfa45d16e72
1 function is = isplist(plist)
2 %% function is = isplist(plist)
3 %% tests if the argument is point list
5 is = isfield(plist,'id') & isfield(plist,'coordxyz');
6 if is
7         is = length(plist.id) == size(plist.coordxyz,1) & ...
8              size(plist.coordxyz,2) == 3;
9 end