Home > functions > gui > bm_editor > brain_data > surf_data > surf_data_get_vertex.m

surf_data_get_vertex

PURPOSE ^

get vertex

SYNOPSIS ^

function [vertex] = surf_data_get_vertex(obj)

DESCRIPTION ^

 get vertex
 [USAGE]
    [vertex] = surf_data_get_vertex(<obj>);
 [IN]
    obj : surf_data object
 [OUT]
    vertex : vertex

 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 [vertex] = surf_data_get_vertex(obj)
0002 % get vertex
0003 % [USAGE]
0004 %    [vertex] = surf_data_get_vertex(<obj>);
0005 % [IN]
0006 %    obj : surf_data object
0007 % [OUT]
0008 %    vertex : vertex
0009 %
0010 % Copyright (C) 2011, ATR All Rights Reserved.
0011 % License : New BSD License(see VBMEG_LICENSE.txt)
0012 
0013 %
0014 % --- Previous check
0015 %
0016 if ~exist('obj', 'var'), error('obj is a required parameter.'); end
0017 if ~strcmp(obj.class_type, 'surf_data')
0018     error('class type is invalid.');
0019 end
0020 
0021 %
0022 % --- Main Procedure
0023 %
0024 vertex = obj.V;

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