摘要 |
PURPOSE:To realize the high-speed operation without lowering the calculating accuracy, by obtaining the positive and negative of the segment via the deciding formula and thus performing the shift. CONSTITUTION:For segment R0 connecting between start point P0 and original point 0 plus segments R1 and R2 connecting between the coordinates point of the next step to be shifted and point 0, the positive and negative of D0 is decided via the relative equation (1). Equation (2) is satisfied in Equation (1). Then D1 is used for the deciding formula to perform decision of the positive and negative for D0. Then the co-ordinate point is shifted. In case the clockwise arc operation is carried out, the shift is given to point PM+1,N(XM+1, YN) at the region of Y>X and with D1<0; and the shift is given to PM+1,N+1(XM+1, YN-1) in the case of D1>0. On the other hand, the shift is given to PM'+1,N'+1(XM'+1, YN'-1) in the region of Y<=X and with D1>0; and the shift is given to PM',N'+1(XM, YN-1) in the case of D1<0 respectively. |