If you have a list of potentially interesting items, you can compare their distance from the center of the circle to the radius of the circle to see if they're in the circle.
If you have a clever list of potentially interesting items, you can probably cull that further by removing objects that are obviously too far away.
In reply to Re: Creating a circle in a data structure
by chromatic
in thread Creating a circle in a data structure
by AK108
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |