[求助]又是首帖啊 想问大家一个动态数组的问题
定义动态数组 存放直线AcDbLine **pLines;
pLines=new AcDbLine *;
可是不知道设置起点,终点等。
"pLines->StartPoint()=xx
pLines->StartPoint()=yy"似乎不起作用。
书上的用法
AcGePoint3d ptStart(0,0,0);
AcGePoint3d ptEnd(1000,1000,0);
AcDbLine *pLine;
pLine=new AcDbLine(ptStart,ptEnd);
pLines->StartPoint(AcGePoint3d ptStart(0,0,0));
晕
页:
[1]