you can use this code to analyse a point is inside the circle or outside the circle.