www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgpointconstraint/getDistanceScale.m

    function ds = getDistanceScale(obj)
%GETDISTANCESCALE Get the notional range of the object
%
%  DS = GETDISTANCESCALE(OBJ) returns the notional range of the object.
%  This is directly estimated from the expression held in the object.
%

%  Copyright 2005 The MathWorks, Inc. and Ford Global Technologies, Inc.


% Get contained constraint expression
pCon = getConstraintExpression(obj);

% All contained objects MUST support getDistanceScale
ds = pCon.getDistanceScale;