This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes util for detecting given point is within given region/points(circle, rectangle...) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "util for detecting given point is within given region/points(circle, rectangle...)" Watch "util for detecting given point is within given region/points(circle, rectangle...)" New topic
Author

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

au lai seong
Greenhorn

Joined: Mar 06, 2011
Posts: 14
is there a util for detecting given point is within given region/points(circle, rectangle...)?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 43892
    
  32
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

Joined: Mar 06, 2011
Posts: 14
you are so smart
 
Have you checked out Aspose?
 
subject: util for detecting given point is within given region/points(circle, rectangle...)
 
It's not a secret anymore!