www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@xregbdrydev/newconstraint.m

    function con = newconstraint( bdev )
%NEWCONSTRAINT A new constraint model for a boundary development node
%
%  C = NEWCONSTRAINT(BDEV) is a new constraint model for the boundary
%  development node BDEV. 

%  Copyright 2000-2014 The MathWorks, Inc. and Ford Global Technologies, Inc.

cif = getInputFactors( bdev );
if length( cif ) >= 2,
    con = conconvexhull( cif );
else
    con = conrange( cif );
end