• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Is Point Within Circle

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
dx²+dy² <= r²
I do not think this is solvable... How does one evaluate dx and dy into a representable quantity to square? Or are you implying that they are the result of double differentiation? In that case you would need to intigrate twice but I do not see how this gives you the right anwser...

The correct formula
r = radius of circle
circlex = x of midpoint of the circle
circley = y of midpoint of the circle
x = x of point to check
y = y of point to check

(x - circlex)^2 + (y - circley)^2 < r^2
 
Status
Not open for further replies.
Top