Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

util for detecting given point is within given region/points(circle, rectangle...)

 
au lai seong
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there a util for detecting given point is within given region/points(circle, rectangle...)?
 
Campbell Ritchie
Sheriff
Pie
Posts: 48985
60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you look in the API index for C and use ctrl-f contains( you will find several contains() methods. One of those might satisfy your requirements.
 
au lai seong
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you are so smart
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic