Find if points are within a circle with given center and radius

geometry

Solution

(xi-x)**2 + (yi-y)**2 < r**2

Problem

We have a point (x,y) and a set of some other points (xi,yi). How can we determine which of (xi,yi) are within a circle with center (x,y) and radius r (a given number)?

Original source