Quantcast
Viewing all articles
Browse latest Browse all 959

Answer by Graham Dunnett

Use angles. You can use the position of the dot relative to the centre to know which quadrant the dot is in. Then arcsin/cos can give you the angle. Then look to see how yellow angle compares to blue and green angles. Maybe dealing with the boundary between 0 degrees and 360 degrees might be awkward.

Viewing all articles
Browse latest Browse all 959

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>