www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@constar/getspecialpointoptions.m
function [opts, ok] = getspecialpointoptions(con) %GETSPECIALPOINTOPTIONS Get the options for finding special points % % OPTS = GETSPECIALPOINTOPTIONS(CON) % % See also CON<OBJECT>, CONBASE/GETSPECIALPOINTOPTIONS. % Copyright 2005 The MathWorks, Inc. and Ford Global Technologies, Inc. % Second return arguemnt is required to work with "xregoptmgr" code. ok = true; % Use an "optimisation manager" to handle the options opts = contextimplementation( xregoptmgr, con, '', '', 'Star-shaped Points', @getspecialpointoptions ); % Center opts = AddOption( opts, 'CenterAlg', omMeanCenter( con ), 'xregoptmgr', 'Center' ); %------------------------------------------------------------------------------| % EOF %------------------------------------------------------------------------------|