查看单个帖子
旧 2009-05-04, 07:00 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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">.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)