• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Is Point Within Circle

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,197
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