摘要 |
PURPOSE: To quickly judge the relative relation between rectangles by deciding the first combinational relative displacement of the lower left vertex and upper right vertex of the two rectangles and the combinational displacement of the lower left vertex of a first rectangle, the upper right vertex of a second rectangle, the upper right vertex of the first rectangle and the lower left vertex of the second rectangle and judging the relation of the rectangles. CONSTITUTION: The relation between the rectangles R202 and R204 is decided based on the lower left vertex and upper right vertex of the rectangles R202 and R204. In the case that the first combination displacement is definite, the relation of the rectangles R202 and R204 is judged. In the case that the first combinational relative displacement is not definite, the second combinational relative displacement of the lower left vertex of the first rectangle R202, the upper right vertex of the rectangle R204, the upper right vertex of the first rectangle R202 and the lower left vertex of the second rectangle R204 is decided. Then, based on the first and second relative displacement, the relation of the rectangles R202 and R204 is judged. |