java.awt.polygon has several contains() methods which look like they
might be useful.
regards,
Adrian
_____________________________________________
Adrian Lumsden
Product Specialist
Scientific Software and Systems Limited
Tel: +64 4 917-6680 (direct)
+64 4 917-6670 (reception)
Fax: +64 4 917-6671
E-mail: Adrian.Lumsden@spamtrap.sss.co.nz
Visit us on the Web at: http://www.sss.co.nz
_____________________________________________
This e-mail passed SSS's content security scan.
It is covered by the confidentiality clauses at
http://www.sss.co.nz/content_and_confidentiality
Joe Desbonnet <joe@galway.net>
Sent by: owner-openmap-users@bbn.com
07/02/03 15:22
To: Ed MacKerrow <mackerrow@lanl.gov>
cc: openmap-users@bbn.com
Subject: Re: [OpenMap Users] Point in Poly method?
Did a google search for "algorithm to determine if a point is in a
polygon" and a few related pages
turned up. This is the closed I could find after a few minutes looking.
http://muldoon.cipic.ucdavis.edu/~okreylos/TAship/Spring2000/PointInPolygon.html
Joe.
Ed MacKerrow wrote:
> Does anyone have a method that determines if my lat, lon point is
> inside or outside an irregular/regular polygon shape. I did not find
> this in OpenMap, but have heard of this functionality in the GIS
world...?
>
> Thanks for your help
>
> ed
>
>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Ed MacKerrow
> Theoretical Division, T-13, Complex Systems
> Mail Stop - B213 Los Alamos National Laboratory
> Los Alamos, NM 87545
> (505) 665-3491 (office)
> (505) 603-0352 (cell)
> (505) 665 - 3003 (fax)
> mackerrow@lanl.gov
>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"] -- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Thu Feb 6 22:09:57 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:34 EDT