Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #19144

Re: rectangle contains point

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From Jeff Higgins <jeff@invalid.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: rectangle contains point
Date Fri, 05 Oct 2012 15:43:15 -0400
Organization A noiseless patient Spider
Lines 12
Message-ID <k4ncuf$scl$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:37:52 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="6a6a291fa7e9c0bd872c1a9cbe2b371d"; logging-data="29077"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+lNxkghc2fqWzwp9eat7WNK5g0QTmIeGY="
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20120726 Icedove/3.0.11
In-Reply-To <ae6e3b64-41bf-40c9-9197-1097c164033b@googlegroups.com>
Cancel-Lock sha1:ICYyHQC+bl8PUmaGgoPwPbBqpCQ=
Xref csiph.com comp.lang.java.programmer:19144

Show key headers only | View raw


On 10/05/2012 03: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.
John B. Matthews provided a strategy for this
in a reply to another of your recent posts.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


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