几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】dbcurvegetspline90 (http://www.dimcax.com/hust/showthread.php?t=15611)

yang686526 2009-05-04 07:00 PM

【转帖】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">.


所有的时间均为北京时间。 现在的时间是 12:03 AM.