Results 1 to 2 of 2

Thread: [RESOLVED] Check whether point is in a circle

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2006
    Location
    London, UK
    Posts
    817

    Resolved [RESOLVED] Check whether point is in a circle

    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²

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2006
    Location
    London, UK
    Posts
    817

    Re: Check whether point is in a circle

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width