- UID
- 675164
- 积分
- 224
- 精华
- 贡献
-
- 威望
-
- 活跃度
-
- D豆
-
- 在线时间
- 小时
- 注册时间
- 2013-4-19
- 最后登录
- 1970-1-1
|
发表于 2017-4-28 13:41:53
|
显示全部楼层
用AcGe几何库,构造三条曲线相切的圆。
AcGeCircArc2d &
set(
const AcGeCurve2d& curve1,
const AcGeCurve2d& curve2,
const AcGeCurve2d& curve3,
double& param1,
double& param2,
double& param3,
Adesk::Boolean& success);
curve1 Input any 2D curve
curve2 Input any 2D curve
curve3 Input any 2D curve
param1 Input parameter value on curve1 where arc touches curve
param2 Input parameter value on curve2 where arc touches curve
param3 Input parameter value on curve3 where arc touches curve
success Output to indicate whether the arc was computed successfully
Changes the definition of the arc to be tangent to the three input curves. This function always returns a full circle. If this function returns a value for success that is Adesk::kFalse, then this function has not changed the object.
|
|