标签:origin cte orm poi ora set tor double gem
AcGePoint3d ptTemp(xTemp, yTemp, 0);
AcGeVector3d vecTemp = AcGePoint3d::kOrigin-ptTemp;
AcGeMatrix3d mat;
double dXzj = _wtof(m_sXzj);
mat.setToRotation(-CConvertUtil::AngleToRadian(dXzj), AcGeVector3d::kZAxis/*ptTemp*/,AcGePoint3d(0, 0, 0));
mat.setTranslation(vecTemp.transformBy(mat));
AcGePoint3d ptRotation = ptInsert.transformBy(mat);
x = decimalNum(ptRotation.x, iJd);
y = decimalNum(ptRotation.y, iJd);
标签:origin cte orm poi ora set tor double gem
原文地址:http://www.cnblogs.com/xzh1993/p/7644829.html