PDA

Click to See Complete Forum and Search --> : [RESOLVED] Check whether point is in a circle


sgrya1
Nov 1st, 2006, 03:56 PM
Hi all again.

Can anyone explain how to check whether or not a point lies whithin a circle.
point = x1,y1
circle = (x2-a)²+(y2-b)²=r²

sgrya1
Nov 1st, 2006, 04:00 PM
Argh, sorry, done it again.
Need to find out how to delete threads.

Obviously need to check that the hypotenuse of the point is less than the radius of the circle.