明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2101|回复: 1

to 斑竹,请帮忙

[复制链接]
发表于 2002-7-24 10:21 | 显示全部楼层 |阅读模式
ads_name line1,cir1;
acedCommand(RTSTR,"xline",
            RTSTR,"A",
            RTSTR,"3",
            RTSTR,"0.0,0.0,0.0",
            RTSTR,"",
            RTNONE);             //画一直线line1;
acedCommand(RTSTR,"arc",
            RTSTR,"CE",
            RTSTR,"0.0,0.0,0.0",
             RTSTR,"A",
         RTSTR,"93",
         RTSTR,"",
         RTNONE);                 //画一圆弧cir1;
acdbEntNext(NULL, line1);   
acdbEntLast(cir1);
       
virtual Acad::ErrorStatus
intersectWith(const AcDbEntity* line1,
              AcDb::Intersect kOnBothOperands,
           AcGePoint3dArray& point1,
           int thisGsMarker = 0,
              int otherGsMarker= 0) const;    //求交点

请为最后那个intersectWith()函数哪里出错了。我一运行就出现如下错误

错误提示:error C2270: 'intersectWith' : modifiers not allowed on nonmember functions
发表于 2002-7-24 15:47 | 显示全部楼层

你知道什么叫“类”

[此贴子已经被wxj351于2002-7-24 15:47:35编辑过]
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-4-25 16:26 , Processed in 0.261250 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表