子顺 发表于 2002-7-24 10:21:00

to 斑竹,请帮忙

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

wxj351 发表于 2002-7-24 15:47:00

你知道什么叫“类”

[此贴子已经被wxj351于2002-7-24 15:47:35编辑过]
页: [1]
查看完整版本: to 斑竹,请帮忙