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