Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #19142
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | markspace <-@.> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: rectangle contains point |
| Date | Fri, 05 Oct 2012 12:20:23 -0700 |
| Organization | A noiseless patient Spider |
| Lines | 18 |
| Message-ID | <k4nbtq$kvr$1@dont-email.me> (permalink) |
| References | <ae6e3b64-41bf-40c9-9197-1097c164033b@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Fri, 5 Oct 2012 19:20:26 +0000 (UTC) |
| Injection-Info | mx04.eternal-september.org; posting-host="61282af8d6595e8d991edb5ac03d6e00"; logging-data="21499"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19UmVPL2v4IclbdbBXQKUexQzv3cb6c4CY=" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 |
| In-Reply-To | <ae6e3b64-41bf-40c9-9197-1097c164033b@googlegroups.com> |
| Cancel-Lock | sha1:Czd5mrF4tcViKiwCLTsZJXit/ZM= |
| Xref | csiph.com comp.lang.java.programmer:19142 |
Show key headers only | View raw
On 10/5/2012 12:00 PM, bob smith wrote:
> So, I have a rectangle class as follows:
>
> public class My_Rectangle {
> double x, y, width, height;
> AffineTransform aft;
>
> Anyone know a good strategy for checking if a point is in the rectangle?
>
> The main difficulty is the transform.
http://lmgtfy.com/?q=computational+geometery
Seriously, it's a big subject. I don't have any easy answers.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
rectangle contains point bob smith <bob@coolfone.comze.com> - 2012-10-05 12:00 -0700
Re: rectangle contains point markspace <-@.> - 2012-10-05 12:20 -0700
Re: rectangle contains point Eric Sosman <esosman@comcast-dot-net.invalid> - 2012-10-05 15:23 -0400
Re: rectangle contains point bob smith <bob@coolfone.comze.com> - 2012-10-05 14:16 -0700
Re: rectangle contains point Jeff Higgins <jeff@invalid.invalid> - 2012-10-05 15:43 -0400
csiph-web