> What is the recommended way of determining whether or not a point is within

> the dimensions of a circle?

> I'm currently at home and don't have access to the usual texts on matters such

> as this!!!

is serious, I'm wondering if you bothered to think about it for a few

minutes. If you have the circle center and radius, you just need to

determine if the distance from the center to the point is greater than

the radius. I would expect most *age children could figure this out

in a few minutes (I'm going to ask my children to solve this later this

evening to find out for sure). In any case, here is pseudo-code to do

the job:

Given a circle definition (center and radius):

circle_x, circle_y, circle_radius

And a point definition:

point_x, point_y

Determine if the point is outside the circle:

x_length = circle_x - point_x

y_length = circle_y - point_y

point_distance = square_root(x_length * x_length + y_length * y_length)

if point_distance > radius

it_is_outside

else

it_is_inside

---

Sun Microsystems

"Proofread carefully to see if you any words out."