Method for judging whether contact is in irregular polygon or not
A polygonal and irregular technology, which is applied to judge whether the touch point is inside the irregular polygon, and can solve the problems of inaccurate recognition of user intentions and inconsistencies in the division of pictures, and achieve the effect of simple grammar and accurate recognition
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] A. If figure 2 , input clockwise coordinates set of irregular polygon (1, 5, 3, 5, 3, 3, 4, 3, 4, 1, 1, 1)
[0034] B. Input the coordinates of the contact point: (2, 2);
[0035] C. Determine whether the line connecting point (1,5) and point (3,5) intersects with the line connecting point (0,2) and contact coordinates (2,2), (1>2&&2>3&&2>5&&2 >5)||(15&&2>5)=false , so there is no intersection.
[0036] D. The parallel line of the x-axis of the contact point and the number of focal points of each side: 0;
[0037] E. Whether the line connecting point (1,5) and point (3,5) intersects with the line connecting point (2,0) and contact coordinates (2,2), (5>2&&2>5&&2>1&&2>3 )||(51&&2>3)=false, so there is no intersection
[0038] F. The number of focal points of the parallel lines of the y-axis of the contact and each side: 0;
[0039] G. Whether there are still uncalculated points: There are 12 points in total, 4 points have been calculated, and there are still 8 poin...
Embodiment 2
[0072] A. If image 3 , input clockwise coordinates set of irregular polygon (1, 5, 3, 5, 3, 3, 4, 3, 4, 1, 1, 1)
[0073] B. Input the coordinates of the contact point: (4, 5);
[0074] C. Determine whether the line connecting point (1,5) and point (3,5) intersects with the line connecting point (0,5) and contact coordinates (4,5), (1>4&&4>3&&5>5&&5 >5)||(15&&5>5)=false , so there is no intersection.
[0075] D. The parallel line of the x-axis of the contact point and the number of focal points of each side: 0;
[0076] E. Does the line connecting point (1,5) and point (3,5) intersect with the line connecting point (4,0) and contact coordinates (4,5), (5>5&&5>5&&4>1&&4>3 )||(51&&4>3)= false, so there is no intersection
[0077] F. The number of focal points of the parallel lines of the y-axis of the contact and each side: 0;
[0078] G. Whether there are still uncalculated points: There are 12 points in total, 4 points have been calculated, and there are still 8 points t...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap