Monday, 20 August 2012

find my point if inside a circle.


i have 2 cgpoints pt1 pt2

pt2 center of circle.

how can find if pt1 within perifery of 50px radius circle centered @ pt2 ?

in advance
ch
 

sounds need distance formula.

go www.google.com , type search bar. "what distance between 2 points"

if result greater radius, point not in circle.
 


Forums iPhone, iPad, and iPod Touch iOS Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

No comments:

Post a Comment