摘要 |
PURPOSE:To efficiently obtain a correct coordinate transformed result by one call at all times by setting a quotient obtained by dividing transformed result by a coordinate transformation range in the storage area of a scale factor, setting a remainder in the storage area of a transformed coordinate value and returning them in the case of being out of the coordinate transformation range at the time of coordinate transformation. CONSTITUTION:This device is provided with a coordinate transformation request origin 1 for issuing a coordinate transformation module calling instruction 3 and the coordinate transformation module 11 being called, performing setting and recovery when the transformed result is within the storage area 5 of the transformed coordinate value and on the other hand, setting the quotient obtained by dividing the transformed result by the coordinate transformation range in the storage area 6 of the scale factor, setting the remainder in the storage area 5 of the transformed coordinate value and performing the recovery when the transformed result is not within the storage area 5 of the transformed coordinate value for the transformed result obtained by transforming a coordinate value taken out from the storage area 4 of the coordinate value before transformation. The transformed coordinate value is obtained based on the values of the storage area 6 of the scale factor and the storage area 5 of the transformed coordinate value in the recovered coordinate transformation request origin 1. |