//保持原有的端点
{
AcDbIntArray indices;indices.append(0);
pArc->getStartPoint(onPt);
AcGeVector3d offset = sPt - onPt;
pArc->moveGripPointsAt(indices,offset);
}
{
AcDbIntArray indices;indices.append(2);
pArc->getEndPoint(onPt);
AcGeVector3d offset = ePt - onPt;
pArc->moveGripPointsAt(indices,offset);
}
文章评论