- 积分
- 28542
- 明经币
- 个
- 注册时间
- 2007-4-24
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|

楼主 |
发表于 2025-6-1 23:09:53
|
显示全部楼层
张帆老师教程里面的
AcGePoint3d CGePointUtil::PolarPoint( const AcGePoint3d &basePoint, double angle, double length )
{
double x = basePoint.x + length * cos(angle);
double y = basePoint.y + length * sin(angle);
return AcGePoint3d(x, y, basePoint.z);
} |
|