CAD中直线、圆弧的夹点序号
可直接构造参数,然后使用moveGripPointsAt函数来移动
if(1==val) { AcDbIntArray indices;indices.append(0); AcGeVector3d offset(-10,0,0); pLine->moveGripPointsAt(indices,offset); } //0 if(2==val) { AcDbIntArray indices;indices.append(1); AcGeVector3d offset(10,0,0); pLine->moveGripPointsAt(indices,offset); } //0 if(3==val) { AcDbIntArray indices;indices.append(2); AcGeVector3d offset(0,10,0); pLine->moveGripPointsAt(indices,offset); }