Home > functions > tool_box > mri_toolbox > mri_point_select_dir > mps_pointlist > vb_mps_pointlist_get_pointnum.m

vb_mps_pointlist_get_pointnum

PURPOSE ^

get the number of points stored in mps_pointlist object.

SYNOPSIS ^

function [num]= vb_mps_pointlist_get_pointnum(obj)

DESCRIPTION ^

 get the number of points stored in mps_pointlist object.
 [USAGE]
    [num] = vb_mps_pointlist_get_pointnum(<obj>);
 [IN]
    obj : mps_pointlist object
 [OUT]
    num : The number of points stored in mps_pointlist object


 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [num]= vb_mps_pointlist_get_pointnum(obj)
0002 % get the number of points stored in mps_pointlist object.
0003 % [USAGE]
0004 %    [num] = vb_mps_pointlist_get_pointnum(<obj>);
0005 % [IN]
0006 %    obj : mps_pointlist object
0007 % [OUT]
0008 %    num : The number of points stored in mps_pointlist object
0009 %
0010 %
0011 % Copyright (C) 2011, ATR All Rights Reserved.
0012 % License : New BSD License(see VBMEG_LICENSE.txt)
0013 
0014 if ~exist('obj', 'var'), error('obj is need parameter'); end
0015 
0016 num = length(obj.point_list);

Generated on Tue 27-Aug-2013 11:46:04 by m2html © 2005