Define the conditions of the point’s entry into a given area



The author posted a question in Programming

Define the conditions of the point's entry into a given area? and got a better answer

Response from
<img src=https://otvet.imgsmail.ru/download/34182886_6a80b9f5b36282e9d66a7b3bbec3cd72_800.jpg alt= data-lsrc=//otvet.imgsmail.ru/download/34182886_6a80b9f5b36282e9d66a7b3bbec3cd72_120x120.jpg data-big=1>

Response from 0[+++++]
<img src=https://otvet.imgsmail.ru/download/34182886_6a80b9f5b36282e9d66a7b3bbec3cd72_800.jpg alt= data-lsrc=//otvet.imgsmail.ru/download/34182886_6a80b9f5b36282e9d66a7b3bbec3cd72_120x120.jpg data-big=1>

Response from 0[+]
FIND THE INTERSECTION POINT

Response from 0[+++++]
1. Check if the x of the point falls in the interval -1. 1 and y of the point in -1.1 if not, it doesn't 2. Determine which of the 4 quadrants the point is in and determine the center of the circle x1 y1 3. If the distance from x y to x1 y1 is less than 1 radius then it does not hit =1 exactly on the border of &amp;gt;1 inside the area

 

To answer the question:

Name*

E-mail:*

Reply text:*
Verification code (enter 22):*