后者通过设置刀轴矢量变化的阈值并采用集合碰撞体,实现了刀位的跳点检查和集合运算检查。
The second algorithm, depending on setting the threshold controlling tool-axis vector and using solid based on Boolean-operation, realizes unsafe CL-points and Boolean-operation check.
但是这种差分机只能做机械运算,而且不能检查结果以修改过程。
But the Difference Engine could only do rote calculations and was incapable of checking its results to alter course.
要避免任何数与 0 相除或溢出,将所有除法转换为乘法并检查运算符号(Y2=Y1 的水平线不会计入算法)
To avoid any division by zero or overflow, transform all division into multiplication and check for the sign (horizontal lines with Y2=Y1 do not count in the algorithm)
It caught the error, because it checked the types of the operands before it applied things and it says, I'm going to stop.
它捕捉到了错误,因为它在,进行运算之前检查了运算对象的类型,然后Python意识到,应该停止了。
应用推荐