RE: [OpenMap Users] Offset a Geo

From: Sutphin, William B CIV NUWC NWPT <william.sutphin_at_navy.mil>
Date: Thu, 7 May 2009 07:44:34 -0400

I did get it to work using geo.offset(distance, angle). I just have to precalculate the distance and angle from Geo(0.0, 0.0) to Geo(10.0, 10.0).

Bill Sutphin
Naval Undersea Warfare Center, Division Newport
Bldg 1351, Room 211C
Newport, RI 02841
(401) 832-5813
DSN 432-5813

 

> -----Original Message-----
> From: Sutphin, William B CIV NUWC NWPT
> [mailto:william.sutphin_at_navy.mil]
> Sent: Wednesday, May 06, 2009 16:13
> To: openmap-users_at_bbn.com
> Subject: [OpenMap Users] Offset a Geo
>
> I'd like to move a Geo[] from say 0.0, 0.0 to 10.0, 10.0,
> biasing all the array to 10.0, 10.0. I thought "add", but it
> doesn't seem to do it.
>
> also
>
> I am storing stuff in ArrayList<Geo> but I see there are
> other "Geo" objects. Should I be using GeoArray for
> instance? I'd like to get the most geo for my buck.
>
> Is 5.0 out? I haven't looked.
>
> Bill Sutphin
> Naval Undersea Warfare Center, Division Newport Bldg 1351,
> Room 211C Newport, RI 02841
> (401) 832-5813
> DSN 432-5813
>



--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu May 07 2009 - 07:45:47 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:09 EDT