几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】getting middle point of arc and ellipse arc (http://www.dimcax.com/hust/showthread.php?t=16412)

yang686526 2009-05-05 11:30 AM

【转帖】getting middle point of arc and ellipse arc
 
getting middle point of arc and ellipse arc
getting middle point of arc and ellipse arc
hi,
is there some dwgdirect function or method with which i can retireve the middle point of an arc (oddbarc or odgecircarc3d), or of a elliptic arc (database or geometry)?
must i calculate it by myself?
thanks in advance for any help.
regards
chudomir
i think for gecurve you can use evalpoint((startparam() + endparam()) / 2);
sergey slezkin
thanks, that's what i've needed.
meanwhile, can you please indicate how much percent of the oddbcurve functionality is implemented and which kind of curves do support it?
for example i could use the acdbcurve class to find the first derivate vector to a spline or ellipse, or similar.
regards
chudomir
we tried to comment out virtual functions from base class if it is not implemented in all inheritants.
paramof/evalpoint are implemented in most classes. obtaining derivatives - not.
sergey slezkin


所有的时间均为北京时间。 现在的时间是 11:07 PM.