comp.lang.ada
 help / color / mirror / Atom feed
From: mikeg2@my-dejanews.com
Subject: Re: geometric utilities
Date: 1998/06/12
Date: 1998-06-12T00:00:00+00:00	[thread overview]
Message-ID: <6lrto0$6q1$1@nnrp1.dejanews.com> (raw)
In-Reply-To: Pine.BSF.3.96.980605150858.22568C-100000@shell5.ba.best.com


In article <Pine.BSF.3.96.980605150858.22568C-100000@shell5.ba.best.com>,
  Brian Rogoff <bpr@shell5.ba.best.com> wrote:

>
> Mike,
> 	The first problem is that you posted Pascal code to an Ada
> newsgroup :-).
>
> 	I just wrote down a naive Point_In_Polygon in Ada, untested (I'm
> Adaless for now). It should be easy to modify for whatever you're doing,
> and its pretty self explanatory if you understand ray casting. It doesn't
> have the same preconditions as what you posted. Try this if you can't
> figure out the code you have. This is definitely hacked up on the fly,
> and so serves as a counterexample that you can't hack in Ada ;-).
>
> -- Brian
>

thanks brian, your code seems to do the trick and was pretty easily integrated
with what i have.  i never could figure out what was wrong with the other
algorithm (sorry about the pascal, that's how it appeared in the textbook ;).

-mike

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/   Now offering spam-free web-based newsreading




  reply	other threads:[~1998-06-12  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-04  0:00 geometric utilities mikeg2
1998-06-05  0:00 ` Brian Rogoff
1998-06-12  0:00   ` mikeg2 [this message]
1998-06-05  0:00 ` mikeg2
  -- strict thread matches above, loose matches on Subject: below --
1998-06-03  0:00 mikeg2
1998-06-03  0:00 ` Brian Rogoff
1998-06-04  0:00   ` Michael F Brenner
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox