高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】dbcurvegetspline90
dbcurve::getspline()
dbcurve::getspline()
i'm running dd2.0.3 and i tried to use dbcurve::getspline() on an ellipse (knowing that dbellipse:: is derived from dbcurve:: ).
i get an error of 'enotimplemented' returned to me.
will this be implemented soon?
hi,
this is current implementation of getspline
odresult oddbcurve::getspline(oddbsplineptr*spline) const
{
oddbcurvepeptr ex = oddbcurvepe::cast(this);
if ( ex.isnull() ) return enotimplemented;
return ex->getspline(this,spline);
}
also toolkit has example examples\odcurvefunctions. this example shows how to implement oddbcurvepe protocol extension and include realization for oddbcurvepe_line and oddbcurvepe_arc.
last edited by sslezkin; 27th september 2006 at 12:52 amfff">.
|