function y = tz_bezier(x,ctrpts,n)
%TZ_BEZIER 2D bezier curve.
%   Y = TZ_BEZIER(X,CTRPTS,N) returns values of 2D N-order bezier defined
%   by control points CTRPTS for X. The function is implemented by the de
%   Casteljau's algorithm.
%
%   See also

%   27-Dec-2005 Initial write T. Zhao
%   Copyright (c) Center for Bioimage Informatics, CMU

if nargin < 2
    error('Exactly 2 arguments are required')
end

error('Under construction');


