How about multiplying the coords till they are ints and use the awt.polygon class?
You could then use the contains(x, y) method. Brian On 1/30/06, Riaan Koegelenberg <[EMAIL PROTECTED]> wrote: > > Hi > > I am trying to create a polygon in Java. The coordinates > of the polygon is lat/long (geographic coordinates) so it > can go up to quite a few decimal places. > > Have anyone ever done something like this? I need to > determine whether this polygon then contain a specific > point (coordinates also in lat/long). > > Any help will be appreciated. > > Riaan > ___________________________________________________________________ > For super low premiums, click here http://www.webmail.co.za/dd.pwm > > http://www.webmail.co.za the South African FREE email service > -- Brian Silberbauer Consultant +27 (0)83 566 2705 skype: brian.silberbauer
