1. Field of the Invention
Embodiments of the present invention generally relate to a method and system for processing gestures to cause computation of measurements of an angle or a segment using a touch system.
2. Description of the Related Art
In a touch system, measuring segments and angles is cumbersome. Angles are generally defined by three (3) points. Calculating the measurement of an angle generally involves multiple steps—accessing the menu, choosing a measurement tool, and then touching the three points defining the angle.
Therefore, there is a need for a method and/or apparatus for processing gestures to cause computation of measurements of an angle or a line using a touch system.
Embodiments of the present invention relate to a method and a system for processing gestures to cause computation of measurements of an angle or a segment using a touch screen. The system includes a processor, a touch screen coupled to the processor, a gesture module coupled to the processor for executing gesturing method, the method includes determining a gesture shape, when the gesture shape is an arc between two touching lines, calculating the angle between the touching lines behind the gestured line or arc, when the gesture is a line crossing a segment, calculating the measurement from the beginning point of the segment to the end point of the segment, and displaying the calculated measurement of at least one of the angle or the segment.
So that the manner in which the above recited features of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings. It is to be noted, however, that the appended drawings illustrate only typical embodiments of this invention and are therefore not to be considered limiting of its scope, for the invention may admit to other equally effective embodiments.
Utilizing a touch screen, the user slides fingers, a pointer or the likes from one line to another. In some embodiments, a touch screen is a screen that is capable of recognizing a gesture without necessary requiring an actual touch of the screen, such as, a gesture of hand, finger, stylus, motion, etc. In other embodiments, a touch screen is a screen that recognizes a gesture from actually touching the screen.
Similarly, utilizing a touch screen, the use slides a finger, a pointer or the likes across a segment.
At step 510, the method 500 determines of the gestured shape is a line that intersects a segment. If it is, then the method 500 proceeds to step 512, wherein the measurement between the beginning point and the end point of the segment is calculated. Otherwise, the method 500 proceeds to step 516. From steps 508 and 512, the method 500 proceeds to step 514, wherein the calculated measurements are displayed and the method 500 proceeds to step 516. The method 500 ends at step 516.
While the foregoing is directed to embodiments of the present invention, other and further embodiments of the invention may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.
This application claims priority from U.S. Provisional Patent Application No. 61/947,747 filed on Mar. 4, 2014, which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
61947747 | Mar 2014 | US |