TA的每日心情 | 开心 昨天 06:36 |
---|
签到天数: 15 天 [LV.4]偶尔看看III
管理员
- 积分
- 1308
|
- void drawInfo(const AcGeCurve3d* crv,int color)
- {
- AcGeInterval iv;
- double lb,ub;
- crv->getInterval(iv);
- iv.getBounds(lb,ub);
- double param = lb;
- double step = (ub-lb) / 100;
- AcGePoint3d p1,p2;
- p1 = crv->evalPoint(lb);
- while(param < ub)
- {
- param += step;
- p2 = crv->evalPoint(param);
- ads采用grdraw(asDblArray(p1),asDblArray(p2),color,0);
- p1 = p2;
- }
- p2 = crv->evalPoint(ub);
- ads采用grdraw(asDblArray(p1),asDblArray(p2),color,0);
- }
复制代码 |
|