DISPLAY CONTROL METHOD, DISPLAY CONTROL DEVICE, DISPLAY CONTROL SYSTEM, AND PROGRAM
The display control method enhances object positioning accuracy on touch panels by using continuous movement and confirmation operations to ensure precise positional relationships between objects, addressing the challenges of wide contact areas and reduced responsiveness.
Patent Information
- Application Number
- JP2020149932
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-09-07
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-09-07
AI Technical Summary
Existing touch gesture operations on touch panels, especially with capacitive methods and using fingers, face challenges in accurately positioning objects due to wide contact areas and reduced responsiveness, making it difficult to achieve precise positional relationships between objects, especially on small displays.
A display control method that involves continuously moving an object on the screen based on user operations, determining the distance between objects, performing confirmation operations when they are within a certain distance, and allowing user input to confirm the positional relationship before finalizing the placement.
Enables precise and easy positioning of objects relative to each other, reducing the need for strict user operations and preventing unintended movements, even for those less skilled in touch gestures.
Smart Images

Figure 0007540251000011 
Figure 0007540251000016 
Figure 0007540251000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a display control method, a display control device, a display control system, and a program. [Background technology]
[0002] Current mobile applications are mainly operated by touch gestures, which are performed by touching the screen of a touch panel with a finger. In touch gesture operations, for example, a finger can be touched to an object on the screen, moved while maintaining the touch, and when the object reaches the desired location, the finger can be removed from the screen to move the object to the desired location (Non-Patent Document 1). In drawing objects such as figures and graphs, this touch gesture operation allows the object to be moved to a predetermined positional relationship with other objects, for example, to be positioned so that the moved figure comes into contact with the other figures. [Prior art documents] [Non-patent literature]
[0003] [Non-Patent Document 1] “How to operate the touch panel”, [online], NEC Personal Computers, Ltd., [Searched on July 7, 2020], Internet <URL:https: / / support.nec-lavie.jp / e-manual / m / nx / vp / 201109 / pdf / pg / sw4 / v1 / mst / versapro_w7_manual / _manual / 02_kakubu / 02-30_panel / vt / VT71023002.htm> Summary of the Invention [Problem to be solved by the invention]
[0004] However, when performing touch gesture operations using a finger, since the area of contact of the finger with the touch panel is large, it may be difficult to accurately move an object to a position where it has a predetermined positional relationship with other objects. When the touch panel display is small and the objects displayed are small, it is even more difficult to move the object to a precise position. In addition, recent touch panels adopt a "capacitive method," and when the finger is dry, the touch panel becomes slow to respond, making it difficult to perform fine touch gesture operations. In addition, it is not easy to accurately move an object to a position where it has a predetermined positional relationship with other objects, not only by touch gesture operations using a touch panel, but also by operations using a mouse pointing device.
[0005] The present invention has been made in view of the above, and has an object to easily move an object to an appropriate position relative to another object. [Means for solving the problem]
[0006] The display control method according to the present invention comprises: Executing a display control to continuously move an object displayed on the screen in response to continuous operations by the object; when a first object and a second object as the object are displayed on the screen with a distance therebetween, determining whether or not an inter-object distance between the first object and the second object is equal to or shorter than a certain distance as a result of the first object being brought closer to the second object by executing the display control; determining whether or not the subject has entered permission; when it is determined that the inter-object distance is equal to or shorter than the certain distance, performing a confirmation operation to confirm a user's permission to execute a positional relationship display control for displaying the first object and the second object on the screen such that the first object and the second object have a mutual positional relationship in a certain positional relationship; During the execution of the checking operation, By continuously moving the first object along the second object in response to continuous operations by the object person, the position of the second object to be displayed on the screen is maintained, and the position of the first object to be displayed on the screen is continuously moved while maintaining the certain positional relationship with the second object; When it is determined that the permission input has been made by the subject person, the positional relationship display control is executed. Effect of the Invention
[0007] According to the present invention, an object can be easily moved to a precise position relative to other objects. [Brief description of the drawings]
[0008] [Figure 1] 1 is a diagram showing a physical configuration of a display control system according to a first embodiment of the present invention. [Diagram 2] 1 is a diagram showing a functional configuration of a display control system according to a first embodiment of the present invention. [Diagram 3] FIG. 2 is a diagram showing an example of a display screen of a graphics drawing application running on a web browser, which is displayed on a display unit of a terminal device of the display control system in accordance with the first embodiment of the present invention. [Figure 4] 4 is a flowchart showing a procedure of a graphics drawing process according to the first embodiment of the present invention. [Diagram 5] 4 is a flowchart showing a display control process procedure according to the first embodiment of the present invention. [Figure 6] (A) is a display screen showing a state in which the distance between an object in the first embodiment of the present invention and another object has reached a certain value or less, and (B) is a display screen showing a state in which the object has moved to a position in contact with the other object. [Figure 7] 10 is a flowchart showing a display control process procedure in the case where a plurality of other targets exist according to the first embodiment of the present invention. [Figure 8] (A) is a display screen showing a state in which the distance between an object in the first embodiment of the present invention and multiple other objects has reached a certain value or less, (B) is a display screen showing a state in which the object has moved to a position where it is in contact with multiple other objects, and (C) is a display screen showing a state in which the object has moved so that it intersects with the other objects at two points. [Figure 9] 4 is a flowchart showing a contact movement process procedure according to the first embodiment of the present invention. [Figure 10](A) is a display screen showing the state in which an object in the first embodiment of the present invention is dragged along another object, and (B) is a display screen showing the state in which the object has been moved along the other object. [Figure 11] 10 is a flowchart showing a display control process according to a second embodiment of the present invention. [Figure 12] (A) is a display screen showing a state in which the distance between an object in accordance with the second embodiment of the present invention and another object has reached a certain value or less, and (B) is a display screen showing a state in which the object has moved to a position in contact with the other object. [Figure 13] (A) is a display screen showing the second embodiment of the present invention in which rectangles are positioned diagonally to each other, (B) is a display screen showing the rectangles facing each other, and (C) is a display screen showing the rectangles touching each other. [Figure 14] 13 is a flowchart showing a display control process procedure in the case where a plurality of other targets exist according to the second embodiment of the present invention. [Figure 15] (A) is a display screen showing a state in which the distance between an object and multiple other objects in the second embodiment of the present invention has reached a certain value or less, and (B) is a display screen showing a state in which the distance between an object and multiple other objects is below a certain value and the distances to the multiple other objects are the same as each other. [Figure 16] 13 is a flowchart showing a display control process procedure according to a third embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A display control system and a display control device according to embodiments of the present invention will be described below with reference to the drawings.
[0010] (First embodiment) 1, a display control system 1 according to the present embodiment includes a terminal device 10 operated by a user who is a target person, and a server device 20. The terminal device 10 and the server device 20 are communicatively connected via a network 30. The network 30 is, for example, the Internet.
[0011] The display control system 1 performs calculations based on the formula input by the user, and displays the calculation results as a graph of a function on the screen of the terminal device 10. In addition, the display control system 1 displays a geometric figure input by the user on the screen of the terminal device 10. The graph and geometric figure, which are the drawn objects (hereinafter, the graph and geometric figure are collectively referred to as figures), can be moved by the user's operation.
[0012] The terminal device 10 is a tablet terminal, a smartphone, a personal computer (PC), etc., which is operated by a user and displays the operation results. The terminal device 10 includes a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, a storage unit 14, an input unit 15, a display unit 16, a touch panel 17, and a communication unit 18. Each of these is connected to each other via a system bus 19.
[0013] The CPU 11 is, for example, a microprocessor, and is a central processing unit that executes various processes and calculations. The ROM 12 stores an initial program for performing various initial settings, hardware inspection, program loading, etc. The RAM 13 temporarily stores various software programs executed by the CPU 11, data required to execute these software programs, etc. The CPU 11 is connected to each part of the terminal device 10 via a system bus 19, and functions as a control unit that reads out the control program stored in the ROM 12 and controls the operation of the entire terminal device 10 while using the RAM 13 as a work memory.
[0014] The storage unit 14 is a non-volatile memory such as a flash memory, a hard disk, etc. The storage unit 14 stores software programs and data used by the terminal device 10 to perform various processes, various data generated by the terminal device 10, etc.
[0015] The input unit 15 includes external input devices such as a keyboard and a mouse that accept input from a user. Information input through the input unit 15 by a user's operation is transmitted to the CPU 11 via the system bus 19, and the CPU 11 judges the input information and executes processing according to the input information.
[0016] The display unit 16 has a display screen such as a liquid crystal display or an organic EL (Electro Luminescence) display. The display unit 16 displays an image on the display screen in response to processing executed by the CPU 11. The touch panel 17 receives input in response to a touch operation by a user's finger. The touch panel 17 is integrated with and overlaid on the display screen of the display unit 16. The display unit 16 and the touch panel 17 form a touch panel display. The communication unit 18 has a device for communicating with other devices and has a function of connecting to a communication network such as the Internet. The communication unit 18 communicates with the server device 20 via the network 30.
[0017] The server device 20 includes a CPU (Central Processing Unit) 21, a ROM (Read Only Memory) 22, a RAM (Random Access Memory) 23, a storage unit 24, and a communication unit 25. The communication unit 25 includes a device for communicating with other devices, and has a function of connecting to a communication network such as the Internet. Each of these is connected to each other via a system bus 26.
[0018] The CPU 21 is, for example, a microprocessor, and executes various processes and calculations to control the operation of the entire server device 20. The ROM 22 stores information such as programs used in the operation of the CPU 21. The RAM 23 temporarily stores various software programs executed by the CPU 21, necessary data, etc., and functions as a work area for the CPU 21. The storage unit 24 is a non-volatile memory such as a flash memory or a hard disk. The storage unit 24 stores various data such as programs for controlling the server device 20, software programs used to perform various calculation processes, parameters, and calculation results of the server device 20. The communication unit 25 has a function of connecting to a communication network such as the Internet, and communicates with the terminal device 10 via the network 30.
[0019] As described above, the CPU 11 of the terminal device 10 functions as a control unit that reads out the software program stored in the ROM 12 to the RAM 13 and controls the execution of the software program, and is functionally configured as shown in Fig. 2. The control unit 31 includes a display control unit 35 that displays a figure on the display screen of the display unit 16 and continuously moves the figure in response to continuous operations by the user, a calculation instruction unit 32 that instructs the server device 20 to perform coordinate calculations for the figure to be drawn, a distance determination unit 33 that determines the distance between the figure displayed on the display screen and another figure, and an permission input determination unit 34 that determines whether or not a permission input has been made by the user. The display control unit 35 also includes a confirmation display control unit 36 that, when the distance determination unit 33 determines that the distance between the two figures is equal to or less than a certain distance, displays the figure in a display mode such as blinking to confirm the user's permission to adjust the two figures to have a certain positional relationship with each other, and a positional relationship display control unit 37 that, when the permission input determination unit 34 determines that a permission input has been made, adjusts the two figures to have a certain positional relationship with each other and displays them on the display screen. In addition, in the server device 20, the CPU 21 reads the software program stored in the ROM 22 into the RAM 23 and functions as a control unit 38 that controls the execution of the software program, and the control unit 38 is provided with a calculation unit 39 that performs calculations in response to calculation requests from the calculation instruction unit 32 of the terminal device 10.
[0020] A user specifies the address of the server device 20 in a web browser running on the terminal device 10. The web browser of the terminal device 10 requests the server device 20 to perform a calculation in response to an input of a mathematical formula, and receives a response from the server device 20 of the result of the calculation performed by the server device 20 in accordance with the calculation program. The terminal device 10 uses the received calculation result to draw a figure in accordance with a program running on the web browser. In this way, in the display control system 1, the program running on the web browser of the terminal device 10 and the calculation program of the server device 20 work together to realize a function as a web application for drawing figures.
[0021] Fig. 3 is a diagram showing an example of a display screen of a graphics drawing application running on a web browser. The display screen shown in Fig. 3 shows a graphics display area 40 displayed on the display unit 16 of the terminal device 10. The graphics display area 40 is an area for displaying graphs and geometric figures, and coordinate axes are displayed.
[0022] 4 is a flowchart showing an example of a graphic drawing operation of the display control system 1 in this embodiment. The processes of steps S101, S102, S104, and S105 on the left side of the drawing are executed by the terminal device 10, and the process of step S103 on the right side is executed by the server device 20. First, the CPU 11 of the terminal device 10 judges whether or not a figure drawing instruction has been received from the user via the input unit 15 (step S101). If it is not judged that a figure drawing instruction has been received (step S101: NO), the CPU 11 waits until it is judged. If it is judged that a figure drawing instruction has been received (step S101: YES), the CPU 11 proceeds to step S102.
[0023] In step S102, the terminal device 10 transmits information necessary for drawing a figure to the server device 20. The necessary information is a formula corresponding to the graph in the case of graph drawing, and the type of the figure in the case of geometric figure drawing. As for the formula, a formula tag (not shown) for inputting the formula is displayed on the display screen, and the user operates the keyboard of the input unit 15 or the software keyboard displayed on the display screen of the display unit 16, so that the formula is input into the displayed formula tag. As for the type of figure, a drawing menu (not shown) showing the type of figure with an icon is displayed on the display screen, and the user inputs the type of figure by selecting an icon corresponding to the figure he / she wants to draw from the drawing menu. The drawing menu includes, for example, a circle icon for drawing a circle, a polygon icon for drawing a polygon, and the like. The user selects an icon of the figure he / she wants to draw from these icons, operates it, and inputs the necessary information.
[0024] When the information necessary for drawing a figure is transmitted to the server device 20, the server device 20 receives the necessary information, calculates the coordinates of the figure to be displayed based on the received information in accordance with a calculation program, and transmits the calculation result to the terminal device 10 (step S103).
[0025] When the CPU 11 of the terminal device 10 receives the calculation result transmitted from the server device 20 (step S104), it causes the display unit 16 to display a figure based on the received calculation result (step S105).
[0026] In Fig. 3, when the formula y=2x is input to the formula sticky note from the input unit 15 by the user, the CPU 11 accordingly displays a line 41 on the display unit 16. Also, a circle 42 is displayed by selecting a circle icon from the drawing menu and specifying the coordinate position of the center of the circle and any coordinate position on the circumference that is the radius by touching the touch panel 17 or clicking with the mouse. Note that for the circle 42, (x-8) is written on the formula sticky note. 2 +(y-6) 2Alternatively, the formula =4 may be entered to display the result.
[0027] The user can select a graphic displayed in graphic display area 40 by tapping or clicking the graph with the mouse on touch panel 17, and then drag the graphic, which allows CPU 11 to move on display unit 16 in accordance with the drag operation. The graphic moves as the user drags, and when the user releases the finger (drops) at the end of the movement, the graphic is positioned at the position where the finger was released (dropped). Next, the operation of moving a graphic to a position where it comes into contact with another graphic will be described.
[0028] First, an operation of moving a circle 42, which is a first object, to a position tangent to a straight line 41, which is a second object, in the display control system 1 will be described with reference to the drawings.
[0029] In FIG. 5, the CPU 11 judges whether or not a drag operation has been performed by the user (step S201). This drag operation is an operation of moving a circle 42 displayed on the display screen of the terminal device 10 in a state selected by a tap operation with the user's finger. When the CPU 11 judges that a drag operation has been performed by the user (step S201: YES), it accepts that a drag operation by the user has started (step S202). In response to the drag operation, the CPU 11 calculates the coordinates of the circle 42, and when the coordinates of the circle 42 are obtained, it displays the circle 42 in the figure display area 40 on the display screen of the display unit 16 based on the obtained coordinates (step S203). As a result, the circle 42 moves in response to the drag operation by the user. In step S201, when the CPU 11 judges that a drag operation has not been performed by the user (step S201: NO), it ends the process.
[0030] Based on the coordinates of the circle 42 calculated in step S203, the CPU 11 calculates the distance between the other object, the straight line 41 and the circle 42 (step S204). The shortest distance between the objects is calculated. Note that the distance between the objects may be the distance on the screen other than the distance based on the coordinates set in the figure display area 40.
[0031] When the shortest distance between the two objects is calculated, CPU 11 judges whether or not the calculated distance between the objects is equal to or shorter than a certain distance (step S205). Here, the certain distance is a distance at which circle 42 approaches straight line 41, and is a distance for judging whether or not a condition for executing positional relationship display control, which will be described later, for moving circle 42 to a position tangent to straight line 41 is satisfied by comparing with the distance between the objects. Step S205 is an example of a first judgment means.
[0032] When the calculated distance is equal to or less than a certain distance (step S205: YES), the CPU 11 determines that the execution condition for the positional relationship display control for moving the circle 42 to a position tangent to the straight line 41 is satisfied, and executes the confirmation display control (step S206). In this example, the confirmation display control is a control for displaying the straight line 41 in a display mode different from that when the inter-object distance between the circle 42 and the straight line 41 is greater than a certain distance, and in this embodiment, the confirmation display control is a control for displaying the straight line 41 in a blinking manner. The confirmation display control is a confirmation operation for confirming the user's permission for the execution of the positional relationship display control with the user. Note that the confirmation operation may be performed by displaying the straight line 41 in a different color or thickness instead of blinking the straight line 41, or may display a sentence on the screen to confirm the above permission to the user (for example, display "May I execute the positional relationship display control?") instead of the straight line 41. Furthermore, the confirmation display control is not limited to the confirmation display control displayed on the screen, and may be a confirmation to the user by, for example, sound (voice) or vibration.
[0033] In step S205, if the calculated distance is not equal to or less than the certain distance (step S205: NO), the process returns to step S201, and the CPU 11 repeats the operation process from step S201 onwards in accordance with the continued drag operation by the user.
[0034] FIG. 6A shows a state where the circle 42 moves closer to the straight line 41 in response to the drag operation, and the distance between the circle 42 and the straight line 41 reaches a certain value or less. When this state is reached, the CPU 11 determines that the execution condition for the positional relationship display control between the circle 42 and the straight line 41 is satisfied, and starts blinking the straight line 41. Note that the blinking display is an example, and other methods may be used as long as the display is for confirming the user's permission for the execution of the positional relationship display control between the circle 42 and the straight line 41. For example, the straight line 41 may be switched to be displayed in a different color such as red, or may be displayed as a thick line, or a range of a certain distance from the straight line 41 may be displayed in a different color. In addition, the confirmation display may be performed on at least one of the straight line 41 and the circle 42. Therefore, only the straight line 41 may be blinked, or the circle 42 may be blinked, or the circle 42 may be blinked together with the straight line 41.
[0035] Returning to Fig. 5, after executing the blinking display in step S206, CPU 11 judges whether the user continues the drag operation or stops the drag operation and removes the finger from the touch panel. Depending on whether the finger has been removed from the touch panel, CPU 11 judges whether the user has permitted circle 42 to be tangent to line 41, that is, whether or not permission input has been made (step S207). Step S207 is an example of a second judgment means.
[0036] In step S207, when the CPU 11 determines that an allowed input has been made because the user has stopped the drag operation and removed his / her finger from the touch panel (step S207: YES), the CPU 11 performs a positional relationship display control process to move the circle 42 so that the circle 42 and the line 41 are tangent to each other. That is, for a point on the circle 42 and a point on the line 41 that connect the circle 42 and the line 41 with the shortest linear distance, the CPU 11 calculates the coordinates of the circle 42 so that the coordinates of the point on the circle 42 match the coordinates of the point on the line 41. After calculating the coordinates of the circle 42, the CPU 11 displays the circle 42 in the figure display area 40 on the display screen of the display unit 16 based on the calculated coordinates (step S208). As a result, the circle 42 is placed at a position tangent to the line 41.
[0037] This state will be explained with reference to Fig. 6(A) and Fig. 6(B). As described above, Fig. 6(A) shows a state in which the distance between the circle 42 and the straight line 41 reaches a certain value or less, and the straight line 41 is blinking. At this time, the shortest distance between the straight line 41 and the circle 42 is the straight line distance connecting the point a (4, 8) on the straight line 41 and the point b (4.3, 7.85) on the circle 42. Here, when the user stops the drag operation and releases his / her finger from the touch panel, the circle 42 is automatically moved so that the point b on the circle 42 coincides with the point a on the straight line 41. Fig. 6(B) shows a state in which the movement of the circle 42 has ended. The circle 42 is tangent to the straight line 41 at the point a. In this way, the circle 42 automatically moves and is placed at a position tangent to the straight line 41.
[0038] In step S207, if the user's finger is not released from the touch panel and the CPU 11 does not determine that there is a permitted input (step S207: NO), the CPU 11 returns to step S201 and repeats the operation process from step S201 onward in accordance with the continued drag operation by the user. Note that steps S203, S206, and S208 are an example of a display control means.
[0039] As described above, when the user continuously performs a drag operation to bring the target closer to another target, the CPU 11 judges whether the distance between the target and the other target is equal to or less than a certain distance. When it is judged that the distance is equal to or less than a certain distance, the CPU 11 executes a confirmation operation (blinking display). This confirmation operation is an operation for confirming with the user the user's permission for the execution of the positional relationship display control. The positional relationship display control is a control for automatically moving the target to a position in contact with the other target on the screen. Then, while the confirmation operation is being executed, it is judged that the user has input permission in response to the user releasing his / her finger from the target on the screen, and the above-mentioned positional relationship display control is executed. Therefore, the target can be appropriately moved to be in contact with the other target without requiring the user to perform a strict operation to move the target to a position in contact with the other target, and even a person who is not good at touch gestures can easily move shapes so that they are in contact with each other.
[0040] Furthermore, before moving an object to a position where it touches another object, the user is asked whether it is OK to move the object, thereby preventing the object from being moved unintentionally by the user. In the above example, the object is moved and displayed so that the object and the other object are in a positional relationship where they are in a tangent positional relationship. However, the positional relationship display control may be any control that displays the object and the other object on the screen so that the object and the other object are in a certain positional relationship, and may be displayed so that they are in another positional relationship, not limited to a tangent positional relationship. For example, the object and the other object may be in a positional relationship where a certain distance is maintained, or, if the object is a circle and a straight line, the straight line may be displayed so that the straight line passes through the center of the circle.
[0041] The above example shows an object moving and coming into contact with one other object. In contrast, an example where an object moves and comes into contact with multiple other objects will be described below.
[0042] 8(A), a circle 53 is displayed as a first object to be moved, and lines 51 and 52 are displayed as second objects to be moved. Here, the circle 53 is moved closer to the lines 51 and 52 by dragging the circle 53.
[0043] As in the previous example, as shown in FIG. 7, CPU 11 determines whether or not the user has performed a drag operation (step S301), and if it determines that the user has performed a drag operation (step S301: YES), it accepts that the drag operation has started (step S302). CPU 11 calculates the coordinates of circle 53 in response to the drag operation, and displays circle 53 in figure display area 40 on the display screen of display unit 16 based on the calculated coordinates (step S303). As a result, circle 53 moves in response to the drag operation. If CPU 11 determines in step S301 that the user has not performed a drag operation (step S301: NO), it ends the process.
[0044] Based on the coordinates of the circle 53 calculated in step S303, the CPU 11 calculates the shortest distance between each of the multiple other objects and the circle 53 (step S304). That is, the CPU 11 calculates the shortest distance between the line 51 and the circle 53, and the shortest distance between the line 52 and the circle 53. When the shortest distance between the circle 53 and the line 51 and the shortest distance between the circle 53 and the line 52 are calculated, the CPU 11 determines whether or not there is another object whose calculated inter-object distance is equal to or shorter than a certain distance (step S305).
[0045] When it is determined that at least one of the shortest distance between the circle 53 and the straight line 51 and the shortest distance between the circle 53 and the straight line 52 is equal to or less than a certain distance (step S305: YES), the CPU 11 determines whether or not there are two or more intersections between the circle 53 and the straight line 51 and between the circle 53 and the straight line 52 (step S306). The existence of two or more intersections indicates that the circle 53 has moved beyond a position where it is tangent to another object with which it has an intersection. The existence or nonexistence of an intersection can be determined by determining whether or not the pixels displaying the objects overlap each other.
[0046] In step S305, if it is determined that there is no other target that is not within a certain distance (step S305: NO), the process returns to step S301, and the CPU 11 repeats the operation process in step S301 and thereafter in accordance with the continued drag operation by the user.
[0047] When CPU 11 determines in step S306 that there are not two or more intersections between circle 53 and another object (step S306: NO), it executes confirmation display control for confirming with the user the user's permission for executing positional relationship display control (step S307). In this case, the positional relationship display control is control for moving circle 53 to a position on the screen where circle 53 touches another object that is a certain distance or less from circle 53.
[0048] 8A shows a state in which the circle 53 has moved closer to the straight lines 51 and 52 by a drag operation, and the distance between the circle 53 and the straight lines 51 and the distance between the circle 53 and the straight lines 52 have both reached a certain value or less. When this state is reached, the CPU 11 determines that the execution condition for the positional relationship display control between the circle 53 and the straight lines 51 and between the circle 53 and the straight lines 52 has been met, and both the straight lines 51 and 52 start blinking.
[0049] Returning to FIG. 7, after the blinking display in step S307, the CPU 11 judges whether or not the user has input permission based on whether the user continues the drag operation or stops the drag operation and removes the finger from the touch panel (step S309). In step S309, when the CPU 11 judges that the user has input permission because the user has stopped the drag operation and removed the finger from the touch panel (step S309: YES), the CPU 11 executes positional relationship display control so that the circle 53 is tangent to the straight lines 51 and 52. That is, the CPU 11 obtains the coordinates of the center point of the circle 53 where the circle 53 is tangent to the straight lines 51 and 52, and calculates the coordinates of the circle 53 having the center. When the CPU 11 calculates the coordinates of the circle 53, the CPU 11 displays the circle 53 in the figure display area 40 on the display screen of the display unit 16 based on the calculated coordinates (step S310). As a result, the circle 53 moves to a position where it is tangent to the straight lines 51 and 52.
[0050] This state will be described with reference to Fig. 8(A) and Fig. 8(B). Fig. 8(A) shows a state in which the distance between the circle 53 and the straight line 51 and the distance between the circle 53 and the straight line 52 reach a certain value or less, and the straight lines 51 and 52 are blinking. When the user stops the drag operation and removes his / her finger from the touch panel, the CPU 11 automatically moves the circle 53 on the display unit 16 so that the circle 53 is tangent to both the straight lines 51 and 52. Fig. 8(B) shows a state in which the movement of the circle 53 has ended. The circle 53 is tangent to the straight lines 51 and 52. In this way, the circle 53 is automatically moved to a position tangent to the straight lines 51 and 52. In step S309, if the user's finger is not removed from the touch panel and it is not determined based on this that there is an input of permission by the user (step S309: NO), the process returns to step S301, and the CPU 11 repeats the operation process from step S301 onward according to the drag operation by the user.
[0051] In contrast, if it is determined in step S306 that there are two or more intersections between circle 53 and another object (step S306: YES), CPU 11 causes other objects that are at a distance less than a certain distance from circle 53, excluding other objects with two or more intersections, to flash (step S308).
[0052] FIG. 8C shows a state where the circle 53 is moved from the tangent position with the line 51 by a drag operation and intersects with the line 51 at two points. Just before the circle 53 passes the tangent position with the line 51, the circle 53 is at a certain distance or less from the lines 51 and 52, and both the lines 51 and 52 do not have two or more intersections with the circle 53, so that the lines 51 and 52 are both blinking. However, when the circle 53 passes the tangent position with the line 51 as in the state of FIG. 8C, the line 51 has no possibility of being tangent with the circle 53. Therefore, the blinking of the line 51 is stopped in order to exclude the line 51 as a candidate for being tangent with the circle 53. Therefore, only the line 52 continues to blink as a candidate for being tangent with the circle 53.
[0053] In the case of FIG. 8C, after executing the blinking display in step S308, the CPU 11 judges whether or not the permitted input is present based on whether the user continues the drag operation or stops the drag operation and removes the finger from the touch panel (step S309). In step S309, when the CPU 11 judges that the permitted input is present because the user stops the drag operation and removes the finger from the touch panel (step S309: YES), the CPU 11 executes positional relationship display control so that the circle 53 is tangent to the straight line 52. That is, the CPU 11 obtains the coordinates of the center point of the circle 53 where the circle 53 and the straight line 52 are tangent, and calculates the coordinates of the circle 53 having the center. After calculating the coordinates, the CPU 11 displays the circle 53 in the figure display area 40 on the display screen of the display unit 16 based on the calculated coordinates (step S310). As a result, the circle 53 is placed at a position tangent to the straight line 52.
[0054] As described above, when the user performs a drag operation to move an object closer to a plurality of other objects, the CPU 11 performs a confirmation operation to confirm with the user the user's permission to execute the positional relationship display control for these objects and the other objects, and when it is determined that permission has been input by the user releasing his / her finger while the confirmation operation is being executed, the CPU 11 automatically places the object at a position adjacent to the other objects. Therefore, the object can be appropriately moved to a position adjacent to the other objects without requiring a strict operation to move the object to a position adjacent to a plurality of other objects, and even a person who is not good at touch gestures can easily move the figures so that they are in contact with each other. In addition, by obtaining permission to move the object before moving it to a position adjacent to the other objects, unintended movement by the user is prevented. In addition, when the object is moved beyond a position adjacent to the other objects by a drag operation, the other objects are excluded from candidates to be placed at a position adjacent to the object. This makes it easy to select and discard the figures that are in contact. In the above example, if there are two or more intersections, that is, if an object passes beyond the point where it meets other objects, it is immediately removed from the candidates. However, it is also possible to provide some margin so that an object is removed from the candidates if it passes beyond the point where it meets other objects and moves away from them by more than a specified distance.
[0055] In the above examples, an object is moved by dragging, and when the distance between the object and another object becomes less than a certain value, the finger is released and the two objects automatically touch. In contrast, an example of changing the contact point by moving an object after the two objects touch will be described below with reference to Figures 9 and 10.
[0056] FIG. 10A shows a state where the circle 62 is in contact with the straight line 61. As shown in the flow chart of the contact point moving process in FIG. 9, the CPU 11 judges whether the circle 62 is in contact with the straight line 61 (step S401), and when it judges that the two objects are in contact (step S401: YES), it displays both objects in a blinking manner to indicate to the user that the contact point can be moved (step S402). When it judges that the two objects are not in contact (step S401: NO), the CPU 11 ends the process. In FIG. 10A, the circle 62 and the straight line 61 are in a contacting state, so that both are displayed in a blinking manner. After step S402 is executed, the CPU 11 judges whether or not a drag operation is performed by the user (step S403), and when it judges that a drag operation is performed by the user (step S403: YES), it accepts that a drag operation has been started (step S404). The CPU 11 calculates the coordinates of the tangent point of the circle 62 on the straight line 61 in response to the drag operation on the circle 62, and calculates the coordinates of the circle 62 having the tangent point (step S405). The circle 62 is displayed in the figure display area 40 on the display screen of the display unit 16 based on the calculated coordinates (step S406). In FIG. 10(A), the user performs a drag operation in the direction of the arrow. As a result, as shown in FIG. 10(B), the circle 62 moves along the straight line 61 in response to the drag operation. In step S403, when the CPU 11 determines that the user has not performed a drag operation (step S403: NO), the process ends. As described above, by performing a drag operation on an object, the object can be moved while the object and another object are in contact with each other, so that even a person who is not good at touch gestures can easily move the shapes so that the shapes are in contact with each other.
[0057] (Second embodiment) In the above examples, positional relationship display control is performed so that figures with tangents, such as a line and a circle, are tangent to each other. In contrast to this, an example will be described in which it is determined that the execution condition for the positional relationship display control is satisfied so that the figures are tangent to each other, and a display is performed to confirm the user's permission to execute the positional relationship display control based on the presence or absence of a tangent.
[0058] In the display control process of FIG. 11, the CPU 11 judges whether or not a drag operation has been performed by the user (step S501), and if it judges that a drag operation has been performed by the user (step S501: YES), it accepts that a drag operation has started (step S502). The CPU 11 calculates the coordinates of the object in response to the drag operation signal, and displays the object in the graphic display area 40 on the display screen of the display unit 16 based on the calculated coordinates (step S503). As a result, the object moves in response to the drag operation. In step S501, if the CPU 11 judges that a drag operation has not been performed by the user (step S501: NO), it ends the process. The CPU 11 calculates the shortest distance to another object based on the coordinates of the object calculated in step S503 (step S504), and judges whether the calculated distance between the objects is equal to or less than a certain distance (step S505).
[0059] If it is determined that the calculated distance between the objects is equal to or less than a certain distance (step S505: YES), the CPU 11 determines whether or not a virtual orthogonal line perpendicular to a line connecting the center of gravity of the object and the center of gravity of the other object, a tangent to the object, and a tangent to the other object are parallel to each other (step S506). If it is determined in step S506 that they are parallel to each other (step S506: YES), the CPU 11 executes confirmation display control assuming that the execution condition for the positional relationship display control is satisfied so that the object is in contact with the other object (step S505: YES and step S506: YES), and executes confirmation display control (step S507). In this example, the confirmation display control is a control for displaying the tangent. Here, not only the tangent but also the other object may be displayed in a blinking manner. This confirmation display control is a confirmation operation for confirming with the user the user's permission to execute the positional relationship display control between the object and the other object if the user releases his / her finger in this state.
[0060] If it is determined in step S505 that the distance calculated is not equal to or less than a certain distance (step S505: NO), or if it is determined that the imaginary orthogonal line perpendicular to the straight line connecting the center of gravity of the object and the center of gravity of the other object, the tangent to the object, and the tangent to the other object are not parallel to each other (step S506: NO), the process returns to step S501, and CPU 11 repeats the operational processing from step S501 onwards in accordance with the continued drag operation by the user.
[0061] If the CPU 11 determines in step S508 that permitted input has been made because the user has stopped the drag operation and removed his / her finger from the touch panel (step S508: YES), it calculates the coordinates of the object so that the object is moved to make contact with other objects, and displays the object in the graphic display area 40 on the display screen of the display unit 16 based on the calculated coordinates (step S509). If the CPU 11 determines in step S508 that permitted input has not been made because the user's finger has not been removed from the touch panel (step S508: NO), it returns to step S501 and repeats the operation processing from step S501 onward in accordance with the continued drag operation by the user.
[0062] FIG. 12A shows a state in which a circle 71, which is an object, moves closer to a circle 72, which is another object, by a drag operation, and the distance between the two objects reaches a certain value or less. In this state, a virtual orthogonal line 74 is assumed to be perpendicular to a line 73 connecting a center of gravity c, which is the center of the circle 71, and a center of gravity d, which is the center of the circle 72. The line 73 has an intersection point e with the circle 71. A tangent line 75 of the circle 71 at the intersection point e is perpendicular to the line 73 and is therefore parallel to the orthogonal line 74. In addition, the line 73 has an intersection point f with the circle 72. A tangent line 76 of the circle 72 at the intersection point f is perpendicular to the line 73 and is therefore parallel to the orthogonal line 74. Therefore, the orthogonal line 74 perpendicular to the line 73 connecting a center of gravity c of the circle 71 and a center of gravity d of the circle 72, the tangent line 75 of the circle 71, and the tangent line 76 of the circle 72 are parallel to each other. Being parallel to each other indicates that circle 71 can be connected to circle 72 so as to be tangent to circle 72. When the user releases his / her finger, CPU 11 displays tangent line 76 as a display for confirming the user's permission to execute positional relationship display control between circles 71 and 72. Here, tangent line 75 may also be displayed. When the user stops the drag operation and releases his / her finger from the touch panel with tangent line 76 displayed, it is determined that permitted input has been made, and circle 71 is positioned so as to be tangent to circle 72, as shown in FIG. 12(B).
[0063] In contrast, FIG. 13A shows a state in which a target rectangle 81 moves diagonally toward another target rectangle 82 by a drag operation, and the distance between the two targets reaches a certain value or less. In this state, a virtual orthogonal line 84 is assumed to be perpendicular to a line 83 connecting the center of gravity g of the rectangle 81 and the center of gravity h of the rectangle 82. Here, the orthogonal line 84 is not displayed on the display screen. The line 83 has an intersection point i with the rectangle 81. Here, the tangent line that touches the rectangle 81 at the intersection point i is not parallel to the orthogonal line 84 because it is a side of the rectangle 81 where the intersection point i exists. In addition, the line 83 has an intersection point j with the rectangle 82. The tangent line that touches the rectangle 82 at the intersection point j is not parallel to the orthogonal line 84 because it is a side of the rectangle 82 where the intersection point j exists. Therefore, the orthogonal line 84 perpendicular to the straight line 83 connecting the center of gravity g of the rectangle 81 and the center of gravity h of the rectangle 82, the tangent line of the rectangle 81, and the tangent line of the rectangle 82 are not parallel to each other. Not being parallel to each other indicates that the positional relationship display control cannot be performed so that the rectangle 81 is tangent to the rectangle 82. The CPU 11 does not display the tangent line as a display for confirming the user's permission to execute the positional relationship display control between the rectangles 81 and 82. Therefore, even if the user stops the drag operation and releases his / her finger from the touch panel in this state, the rectangle 81 is not placed in a position tangent to the rectangle 82. On the other hand, FIG. 13(B) shows a state in which the rectangle 81 is moved from the opposite direction to the rectangle 82 by the drag operation. The tangent line 85 of the rectangle 81 at the intersection point i is perpendicular to the straight line 83 and is therefore parallel to the orthogonal line 84. In addition, the straight line 83 has an intersection point j with the rectangle 82. A tangent line 86 of the rectangle 82 at the intersection j is perpendicular to the straight line 83 and is therefore parallel to the orthogonal line 84. Therefore, the orthogonal line 84 perpendicular to the straight line 83 connecting the center of gravity g of the rectangle 81 and the center of gravity h of the rectangle 82, the tangent line 85 of the rectangle 81, and the tangent line 86 of the rectangle 82 are parallel to one another. Being parallel to one another indicates that the positional relationship display control can be performed so that the rectangle 81 is in contact with the rectangle 82. When the user releases his / her finger, the CPU 11 displays the tangent line 86 together with the rectangle 82 as a display for confirming to the user the user's permission to execute the positional relationship display control between the rectangles 81 and 82. Here, the tangent line 85 may also be displayed.When tangent line 86 is displayed and the user stops the drag operation and removes his / her finger from the touch panel, it is determined that permitted input has been made, and rectangle 81 is positioned so as to be tangent to rectangle 82, as shown in FIG. 13(C).
[0064] As described above, when the user drags the target so as to make it tangent to another target, if the distance between the target and the other target is equal to or less than a certain distance, and the virtual orthogonal line perpendicular to the straight line connecting the center of gravity of the target and the center of gravity of the other target, the tangent to the target, and the tangent to the other target are parallel to each other, the CPU 11 executes confirmation display control as a confirmation operation to display the tangent, and when the user releases his / her finger while the confirmation operation is being executed, it is determined that there is an allowed input, and automatically places the target at a position tangent to the other target. Therefore, during the drag operation, the target can be moved toward a position tangent to the other target, and even a person who is not good at touch gestures can easily move the figures so that they are tangent to each other. In the above example, the tangent is displayed as a confirmation operation. However, the confirmation operation is not limited to this, and may be displayed by other methods such as displaying a virtual orthogonal line or blinking of a contact point, as described above, and the confirmation operation may be performed by sound or the like, as described above. In addition, when the other target is a polygon including a rectangle, the tangent side may be specified in advance. In FIG. 13A, although there is no tangent parallel to the orthogonal line 84, the side of the rectangle 81 where the intersection point i exists and the side of the rectangle 82 where the intersection point j exists are parallel. When the CPU 11 determines that the rectangle 81 approaches the rectangle 82 and the distance between them is equal to or less than a certain distance, and the opposing sides of the two objects are parallel, the CPU 11 may execute the confirmation display control by displaying a line tangent to the side. When there is no tangent parallel to the orthogonal line 84 and the opposing sides of the two objects are not parallel, the CPU 11 does not execute the confirmation display control. Note that the confirmation display control is not limited to the case where a line tangent to the opposing sides is displayed, and other display modes may be used. Also, the figure having opposing sides is not limited to a rectangle, and may be another polygon such as a triangle or a pentagon.
[0065] The above example is an action in which an object moves and comes into contact with one other object. In contrast, an example will be described in which the confirmation display control is performed based on the presence or absence of a tangent line when an object moves and comes into contact with multiple other objects. As described above, the confirmation display control is a confirmation action for confirming with the user the user's permission to execute positional relationship display control so that the objects come into contact with each other.
[0066] In the display control process of FIG. 14, CPU 11 determines whether or not a drag operation has been performed by the user (step S601), and if it determines that a drag operation has been performed by the user (step S601: YES), it accepts that a drag operation has started (step S602). CPU 11 calculates the coordinates of the object in response to the drag operation signal, and displays the object in the figure display area 40 based on the calculated coordinates (step S603). This causes the object to move in response to the drag operation. In step S601, if CPU 11 determines that a drag operation has not been performed by the user (step S601: NO), it ends the process.
[0067] Next, CPU 11 calculates the shortest distance between the object and multiple other objects based on the calculated coordinates of the object (step S604), and judges whether the calculated distance is equal to or shorter than a certain distance (step S605). If it is judged that the calculated distance is equal to or shorter than a certain distance (step S605: YES), CPU 11 judges whether a virtual orthogonal line perpendicular to a line connecting the center of gravity of the object and the center of gravity of the other object, a tangent to the object, and a tangent to the other object are parallel to each other (step S606). Here, if there are multiple other objects, it is judged whether the multiple objects are parallel to each other.
[0068] In step S606, when it is determined that the objects are parallel to each other (step S606: YES), the CPU 11 executes confirmation display control by determining that the execution condition for the positional relationship display control for moving the object with the shortest distance from the object so as to be tangent to the object is satisfied when there are a plurality of objects parallel to each other (step S607). In this example, the confirmation display control is a control for displaying the tangent line. Here, in addition to displaying the tangent line, the other object may be displayed blinking. This confirmation display control is a confirmation operation for confirming with the user the user's permission to execute the positional relationship display control between the object and the other object when the user releases his / her finger in this state. If it is determined in step S605 that the calculated distance is not equal to or less than a certain distance (step S605: NO), or if it is determined in step S606 that the imaginary orthogonal line perpendicular to the straight line connecting the center of gravity of the object and the center of gravity of the other object, the tangent to the object, and the tangent to the other object are not parallel to each other (step S606: NO), the process returns to step S601 and repeats the operation processing from step S601 onwards in accordance with the continuing drag operation by the user.
[0069] If the CPU 11 determines in step S608 that permitted input has been made because the user has stopped the drag operation and removed his / her finger from the touch panel (step S608: YES), it calculates the coordinates of the object so as to move the object so as to contact another object, and displays the object in the figure display area 40 based on the calculated coordinates (step S609). If the CPU 11 determines in step S608 that permitted input has not been made because the user's finger has not been removed from the touch panel (step S608: NO), it returns to step S601 and repeats the operation processing from step S601 onward in accordance with the continued drag operation by the user.
[0070] FIG. 15A shows a state in which a circle 91, which is an object, moves closer to a circle 92 and a circle 93, which are multiple other objects, by a drag operation, and the distance between the circle 91 and the circle 92 and the distance between the circle 91 and the circle 93 reach a certain value or less. In this state, an orthogonal line perpendicular to the line connecting the center of gravity of the circle 91 and the center of gravity of the circle 92, a tangent to the circle 91, and a tangent to the circle 92 are parallel to each other. Also, an orthogonal line perpendicular to the line connecting the center of gravity of the circle 91 and the center of gravity of the circle 93, a tangent to the circle 91, and a tangent to the circle 93 are parallel to each other. A tangent 94 indicates a tangent to the circle 92, and a tangent 95 indicates a tangent to the circle 93. The CPU 11 calculates the distance between the circle 91 and the circle 92 indicated by the arrow and the distance between the circle 91 and the circle 93 indicated by the arrow. Here, the distance between the circle 91 and the circle 92 indicated by the arrow is shorter than the distance between the circle 91 and the circle 93 indicated by the arrow. When the user releases his / her finger from circle 92, which is a small distance, CPU 11 displays tangent 94 to circle 92 as a display for confirming with the user the user's permission to execute positional relationship display control between circle 91 and circle 92. Therefore, tangent 95 to circle 93 is not displayed, and is not treated as a target for executing positional relationship display control. When tangent 94 is displayed and the user stops the drag operation and releases his / her finger from the touch panel, it is determined that permission input has been entered, and circle 91 is positioned at a position tangent to circle 92.
[0071] 15(B), similar to FIG. 15(A), shows a state in which the target circle 91 moves closer to multiple other targets, circles 92 and 93, by a drag operation, and the distance between the circles 91 and 92 and the distance between the circles 91 and 93 both reach a certain value or less, and the distances between the circles are the same. In this state, an orthogonal line perpendicular to the line connecting the centers of gravity of the circles 91 and 92, a tangent to the circle 91, and a tangent to the circle 92 are parallel to one another. Also, an orthogonal line perpendicular to the line connecting the centers of gravity of the circles 91 and 93, a tangent to the circle 91, and a tangent to the circle 93 are parallel to one another. Since the distances between the two (the distance between circle 91 and circle 92, and the distance between circle 91 and circle 93) are the same, CPU 11 determines that both circle 92 and circle 93 are targets for which positional relationship display control is to be executed, and displays both tangent line 94 to circle 92 and tangent line 95 to circle 92 as a display for confirming permission for the execution of positional relationship display control to the user. When tangent line 94 and tangent line 95 are displayed, and it is determined that permission input has been entered by the user stopping the drag operation and removing his / her finger from the touch panel, circle 91 is positioned at a position tangent to both circle 92 and circle 93.
[0072] As described above, when the user drags the object so that it touches a plurality of other objects, if there are a plurality of other objects whose distance between the objects is equal to or less than a certain distance and whose virtual orthogonal line perpendicular to the straight line connecting the center of gravity of the object and the center of gravity of the other objects, and whose tangents to the object and the other objects are parallel to each other, the CPU 11 executes confirmation display control for the other object whose distance from the object is the shortest to display the tangent of the other object, and determines that there is an allowed input in response to the user releasing his / her finger while the confirmation operation is being executed, and automatically places the object at a position that touches the other objects. Therefore, during the drag operation, the object can be moved toward a position that touches the other objects, and even a person who is not good at touch gestures can easily move the figures so that they touch each other. Note that the confirmation operation is not limited to displaying the tangents, and may be displayed by other methods such as displaying a virtual orthogonal line or blinking contacts.
[0073] (Third embodiment) In the above examples, the terminal device 10 performs an operation of moving an object based on a drag operation to make it come into contact with another object. In contrast to this, an example will be described in which the server device 20 performs an operation of moving an object based on a drag operation to make it come into contact with another object.
[0074] Fig. 16 is a diagram showing a display control process procedure in this embodiment. The processes of steps S701, S704, S705, S709, S710, S713, and S714 described on the left side of the figure indicate processes executed by the terminal device 10, and the processes of steps S702, S703, S706, S707, S708, S711, and S712 described on the right side indicate processes executed by the server device 20. In Fig. 16, the user taps a target figure displayed on the display screen of the terminal device 10 to select the target and start a drag operation. The terminal device 10 accepts that the drag operation has started and transmits data based on the drag operation to the server device 20 (step S701).
[0075] The server device 20 receives the data transmitted from the terminal device 10 (step S702), calculates the coordinates of the target graphic in response to the drag operation, and transmits the coordinates to the terminal device 10 (step S703).
[0076] When the terminal device 10 receives the coordinates from the server device 20 (step S704), it displays the target graphic on the screen based on the coordinates (step S705), whereby the target moves in response to the drag operation by the user.
[0077] The server device 20 calculates the shortest distance between the target and the other target based on the coordinates of the target calculated in step S703 (step S706), and judges whether the calculated distance between the targets is equal to or less than a certain distance (step S707). If it is judged that the calculated distance between the targets is equal to or less than a certain distance (step S707: YES), it transmits an instruction for confirmation display control to the terminal device 10, assuming that the execution condition of the positional relationship display control between the target and the other target is satisfied (step S708). In this example, the confirmation display control is a control for blinking the other target in a display mode different from that when the distance between the targets is greater than a certain distance. If the user releases his / her finger in this state, the confirmation display control is a confirmation operation for confirming the user's permission to execute the positional relationship display control. If it is judged that the calculated distance is not equal to or less than a certain distance (step S707: NO), the process returns to step S702, and the operation process from step S702 onwards is repeated according to the drag operation input from the terminal device 10.
[0078] When the instruction for the confirmation display control to blink the other target is transmitted from the server device 20 in step S708, the terminal device 10 receives the instruction (step S709) and executes the confirmation display control to blink the other target (step S710).
[0079] After transmitting the blink instruction in step S708, the server device 20 judges whether the user continues the drag operation or stops the drag operation and removes the finger from the touch panel from the data based on the drag operation from the terminal device 10. Depending on whether the finger is removed from the touch panel, it judges whether the user has permitted contact with the object, that is, whether or not there is a permitted input (step S711). If it is judged that there is a permitted input by the user stopping the drag operation and removing the finger from the touch panel (step S711: YES), the server device 20 calculates the coordinates of the object so that the object comes into contact with another object. After the coordinates are calculated, the calculated coordinates are transmitted to the terminal device 10 (step S712).
[0080] When the terminal device 10 receives the coordinates from the server device 20 (step S713), it displays the target graphic on the display screen based on the coordinates (step S714). As a result, the target is placed at a position adjacent to other targets.
[0081] In step S711, if it is not determined that the user's finger has been removed from the touch panel and that permitted input has not been made (step S711: NO), the process returns to step S702 and repeats the operation processing from step S702 onwards according to the data based on the drag operation continuously input from the terminal device 10.
[0082] As described above, the server device 20 executes the operation of moving the target based on the drag operation so that the target touches another target and touches the other target, thereby reducing the processing load of the terminal device 10 used by the user. In the above example, the server device 20 executes the process of calculating the distance between the target and the other target, determining whether the distance is equal to or less than a certain distance, executing the confirmation display control if the distance is equal to or less than the certain distance, determining whether the permission input is to stop the drag operation and remove the finger from the touch panel, and arranging the target at a position where the target touches the other target if the permission input is received. However, it is not necessary for the server device 20 to execute all of these processes. The server device 20 may execute some of these processes and the terminal device 10 may execute the rest. Also, the server device 20 may instruct the generation and display of the tangent lines described in the second embodiment.
[0083] In the above embodiment, a two-dimensional figure is described as an example of the object, but the object is not limited to this and may be a three-dimensional figure. In the above embodiment, the display control system 1 composed of the terminal device 10 and the server device 20 is described, but all processing may be performed by the terminal device 10 alone. In this case, a program for performing all processing including the arithmetic processing program is stored in the ROM 12 and the storage unit 14. In the above embodiment, the CPU 11 functions as a control unit by executing the program stored in the ROM 12. However, instead of the CPU 11 executing the program stored in the ROM 12, dedicated hardware such as an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), and various control circuits may be provided, and the dedicated hardware may function as a control unit. In this case, a part may be realized by dedicated hardware, and another part may be realized by software or firmware.
[0084] In the above embodiment, the program may be stored in advance in the ROM 12, or may be read from an external recording medium such as a memory card via a recording medium reading unit and stored in the RAM 13 or the like.
[0085] Although the embodiment of the present invention has been described, the scope of the present invention is not limited to the above embodiment, but includes the scope of the invention described in the claims and its equivalents. The invention described in the claims first attached to this application is appended below. The appended number is the same as the claims first attached to this application.
[0086] (Appendix 1) Executing a display control to continuously move an object displayed on the screen in response to continuous operations by the object; when a first object and a second object as the object are displayed on the screen with a distance therebetween, determining whether or not an inter-object distance between the first object and the second object is equal to or shorter than a certain distance as a result of the first object being brought closer to the second object by executing the display control; determining whether or not the subject has entered permission; when it is determined that the inter-object distance is equal to or shorter than the certain distance, performing a confirmation operation to confirm a user's permission to execute a positional relationship display control for displaying the first object and the second object on the screen such that the first object and the second object have a mutual positional relationship in a certain positional relationship; When it is determined that the permission input has been made by the subject person during the execution of the confirmation operation, the positional relationship display control is executed. Display control method.
[0087] (Appendix 2) There are a plurality of second objects; 2. A display control method as described in appended claim 1.
[0088] (Appendix 3) By continuously moving the first object in response to continuous operations by the object person, the first object, which is in the certain positional relationship with respect to the second object, is continuously moved while maintaining the certain positional relationship. 3. A display control method according to claim 1 or 2.
[0089] (Appendix 4) the first object and the second object are two-dimensional or three-dimensional figures; The certain positional relationship is a positional relationship in which the first object is in contact with the second object. 4. A display control method according to any one of claims 1 to 3.
[0090] (Appendix 5) determining whether the first object has changed from a state in which the first object was in contact with the second object to a state in which the first object intersects with the second object at a plurality of intersections in response to successive operations by the subject; not executing the confirmation action when it is determined that the first object has changed from a state in which it was in contact with the second object to a state in which it intersects with the second object at the plurality of intersections; 5. A display control method as described in appended claim 4.
[0091] (Appendix 6) determining whether or not a virtual orthogonal line perpendicular to a straight line connecting the center of gravity of the first object and the center of gravity of the second object, a tangent to the first object, and a tangent to the second object are parallel to each other; when it is determined that the virtual orthogonal line, the tangent to the first object, and the tangent to the second object are parallel to each other and the distance between the objects is equal to or less than the certain distance, executing the confirmation operation to display at least one of the tangents to the first object and the second object; When it is determined that the virtual orthogonal line, the tangent to the first object, and the tangent to the second object are not parallel to each other, the checking operation is not performed. 6. A display control method according to claim 4 or 5.
[0092] (Appendix 7) There are a plurality of second objects; When the confirmation operation is executed, if there are a plurality of second objects having the virtual orthogonal lines parallel to each other and a tangent parallel to the tangent of the first object, a tangent of the second object having the smallest inter-object distance among the plurality of second objects is displayed. 7. A display control method as described in Supplementary Note 6.
[0093] (Appendix 8) When the confirmation operation is executed, at least one of the first object and the second object is displayed in a display manner different from a display manner when the object-to-object distance is greater than the certain distance. 8. A display control method according to any one of claims 1 to 7.
[0094] (Appendix 9) A display control means for continuously moving an object displayed on a screen in response to continuous operations by a subject; a first determination means for determining whether or not an inter-object distance between the first object and the second object becomes equal to or shorter than a certain distance when the first object and the second object are displayed on the screen with a distance therebetween by the display control means, the first object being brought closer to the second object; and a second determination means for determining whether or not a permission input has been made by the subject person, The display control means when the first determination means determines that the inter-object distance is equal to or shorter than the certain distance, performing a confirmation operation to confirm the permission of the object person to execute a positional relationship display control for displaying the first object and the second object on the screen such that the first object and the second object have a mutual positional relationship in a certain positional relationship; and executing the positional relationship display control when the second determination means determines that the permission input has been made by the subject person during the execution of the confirmation operation. Display control device.
[0095] (Appendix 10) A display control system including a server device and a terminal device, A display control means for continuously moving an object displayed on a screen in response to continuous operations by a subject; a first determination means for determining whether or not an inter-object distance between the first object and the second object becomes equal to or shorter than a certain distance when the first object and the second object are displayed on the screen with a distance therebetween by the display control means, the first object being brought closer to the second object; and a second determination means for determining whether or not a permission input has been made by the subject person, The display control means when the first determination means determines that the inter-object distance is equal to or shorter than the certain distance, performing a confirmation operation to confirm the permission of the object person to execute a positional relationship display control for displaying the first object and the second object on the screen such that the first object and the second object have a mutual positional relationship in a certain positional relationship; and executing the positional relationship display control when the second determination means determines that the permission input has been made by the subject person during the execution of the confirmation operation. Display control system.
[0096] (Appendix 11) On the computer, A process of continuously moving an object displayed on a screen in response to successive operations by a subject; a process for determining whether or not an inter-object distance between the first object and the second object becomes equal to or smaller than a certain distance when the first object and the second object are displayed on the screen with a distance therebetween, as a result of the first object being brought closer to the second object; A process of determining whether or not a permission input has been made by the subject person; a process of executing a confirmation operation for confirming the permission of the subject to execute a positional relationship display control for displaying the first subject and the second subject on the screen such that the first subject and the second subject have a mutual positional relationship in a certain positional relationship when it is determined that the inter-subject distance is equal to or less than the certain distance; a process of executing the positional relationship display control when it is determined that the permission input has been made by the subject person during the execution of the confirmation operation; A program for executing the above. [Explanation of symbols]
[0097] 1...display control system, 10...terminal device, 11, 21...CPU, 12, 22...ROM, 13, 23...RAM, 14, 24...storage unit, 15...input unit, 16...display unit, 17...touch panel, 18, 25...communication unit, 19, 26...system bus, 20...server device, 30...network, 31, 38...control unit, 32...calculation instruction unit, 33...distance determination unit, 34...permission input determination unit determination unit, 35...display control unit, 36...confirmation display control unit, 37...positional relationship display control unit, 39...calculation unit, 40...graphic display area, 41,51,52,61,73,83...straight line, 42,53,62,71,72,91,92,93...circle, 75,76,85,86,94,95...tangent line, 74,84...orthogonal line, 81,82...rectangle, c,d,g,h...centre of gravity, e,f,i,j...intersection
Claims
1. Executing a display control to continuously move an object displayed on the screen in response to continuous operations by the object; when a first object and a second object as the objects are displayed on the screen with a distance therebetween, determining whether or not an inter-object distance between the first object and the second object is equal to or shorter than a certain distance as a result of the first object being brought closer to the second object by executing the display control; determining whether or not the subject has entered permission; when it is determined that the inter-object distance is equal to or shorter than the certain distance, performing a confirmation operation to confirm a user's permission to execute a positional relationship display control for displaying the first object and the second object on the screen such that the first object and the second object have a certain positional relationship with each other; while the confirmation operation is being performed, the first target is continuously moved along the second target in response to continuous operations by the subject, thereby continuously moving the position of the first target to be displayed on the screen while maintaining the certain positional relationship with the second target, while maintaining the position of the second target to be displayed on the screen, and when it is determined that the permission input has been made by the subject, the positional relationship display control is executed. Display control method.
2. There are a plurality of the second objects. The display control method according to claim 1 .
3. the first object and the second object are two-dimensional or three-dimensional figures; the certain positional relationship is a positional relationship in which the first object is in contact with the second object; The display control method according to claim 1 or 2.
4. determining whether or not the first object has changed from a state in which the first object was in contact with the second object to a state in which the first object intersects with the second object at a plurality of intersections in response to successive operations by the subject; not executing the confirmation action when it is determined that the first target has changed from a state in which the first target was in contact with the second target to a state in which the first target intersects with the second target at the plurality of intersections; The display control method according to claim 3 .
5. determining whether or not a virtual orthogonal line perpendicular to a straight line connecting the center of gravity of the first object and the center of gravity of the second object, a tangent to the first object, and a tangent to the second object are parallel to each other; when it is determined that the virtual orthogonal line, the tangent to the first object, and the tangent to the second object are parallel to each other and the inter-object distance is equal to or less than the certain distance, executing the confirmation operation to display at least one of the tangents to the first object and the second object; when it is determined that the virtual orthogonal line, the tangent to the first object, and the tangent to the second object are not parallel to each other, the checking operation is not executed. The display control method according to claim 3 or 4.
6. There are a plurality of second targets; When the confirmation operation is executed, if there are a plurality of second objects having the virtual orthogonal lines parallel to each other and a tangent parallel to the tangent of the first object, a tangent of the second object having the smallest inter-object distance among the plurality of second objects is displayed. The display control method according to claim 5 .
7. When the confirmation operation is executed, at least one of the first object and the second object is displayed in a display manner different from a display manner when the object-to-object distance is greater than the certain distance. The display control method according to claim 1 .
8. A display control means for continuously moving an object displayed on a screen in response to continuous operations by a subject; a first determination means for determining whether or not an inter-object distance between the first object and the second object becomes equal to or shorter than a certain distance when the first object and the second object are displayed on the screen with a distance therebetween by the display control means, the first object being brought closer to the second object; and a second determination means for determining whether or not a permission input has been made by the subject person, The display control means when the first determination means determines that the inter-object distance is equal to or shorter than the certain distance, executing a confirmation operation to confirm the permission of the object person to execute a positional relationship display control for displaying the first object and the second object on the screen such that the first object and the second object have a mutual positional relationship in a certain positional relationship; while the confirmation operation is being performed, the first target is continuously moved along the second target in response to continuous operations by the target person, thereby continuously moving the position of the first target to be displayed on the screen while maintaining the certain positional relationship with the second target, while maintaining the position of the second target to be displayed on the screen, and when it is determined by the second determination means that the target person has input the permission, the positional relationship display control is executed. Display control device.
9. A display control system including a server device and a terminal device, A display control means for continuously moving an object displayed on a screen in response to continuous operations by a subject; a first determination means for determining whether or not an inter-object distance between the first object and the second object becomes equal to or shorter than a certain distance when the first object and the second object are displayed on the screen with a distance therebetween by the display control means, the first object being brought closer to the second object; and a second determination means for determining whether or not a permission input has been made by the subject person, The display control means when the first determination means determines that the inter-object distance is equal to or shorter than the certain distance, executing a confirmation operation to confirm the permission of the object person to execute a positional relationship display control for displaying the first object and the second object on the screen such that the first object and the second object have a mutual positional relationship in a certain positional relationship; while the confirmation operation is being performed, the first target is continuously moved along the second target in response to continuous operations by the target person, thereby continuously moving the position of the first target to be displayed on the screen while maintaining the certain positional relationship with the second target, while maintaining the position of the second target to be displayed on the screen, and when it is determined by the second determination means that the target person has input the permission, the positional relationship display control is executed. Display control system.
10. On the computer, A process of continuously moving an object displayed on a screen in response to successive operations by a subject; a process for determining whether or not an inter-object distance between the first object and the second object becomes equal to or smaller than a certain distance when the first object and the second object are displayed on the screen with a distance therebetween, as a result of the first object being brought closer to the second object; A process of determining whether or not a permission input has been made by the subject person; a process of executing a confirmation operation for confirming the permission of the subject to execute a positional relationship display control for displaying the first subject and the second subject on the screen such that the first subject and the second subject have a mutual positional relationship in a certain positional relationship when it is determined that the inter-subject distance is equal to or less than the certain distance; a process of continuously moving the first target along the second target in response to continuous operations by the subject during the execution of the confirmation operation, thereby continuously moving the position of the first target displayed on the screen while maintaining the certain positional relationship with the second target, while maintaining the position of the second target displayed on the screen, and executing the positional relationship display control when it is determined that the permission input has been made by the subject; A program for executing.
Citation Information
Patent Citations
Cad software
JP2002215683A
Graphic screen creation device, graphic screen creation method and graphic screen creation program
JP2013182584A
Operation device
JP2017126181A
Drawing apparatus and drawing program
JP2019144605A
