Re: OMPoly cMode?

From: Don Dietrick <dietrick@bbn.com>
Date: Fri Oct 11 2002 - 13:47:30 EDT

Hi Chris,

The cMode is either OMPoly.COORDMODE_ORIGIN or
OMPoly.COORDMODE_PREVIOUS, and adds flexibility to how your x/y
coordinates can be defined. OMPoly.COORDMODE_ORIGIN means that the x/y
coordinates are pixel offsets relative to the lat/lon point. The
OMPoly.COORDMODE_PREVIOUS means that the x/y coordinates are pixel
offsets relative to the previous x/y coordinate.

Hope this helps,

Don

On Friday, October 11, 2002, at 01:21 PM, Chris Hopkins wrote:

>
> Hi all -
>
> I'm interested in creating a diamond shape that represents a sensing
> area
> for an aircraft. I think the best way for me to do this is to use the
> OMPoly
> and specify a lat/lon (center of the sense point) with some x,y pairs
> for
> offsets of the vertices of the diamond. However, the constructor wants
> an
> int cMode (offset coordinate mode) at the end of it and I'm not sure
> what I
> should pass to that. I can't see any indication in the Javadoc as to
> what
> this might be. It's probably obvious and I just can't see it due to
> "Friday
> brain". Can anyone help?
>
> Thanks,
> Chris
>
> --
> [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"]
>
>

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, BBN Technologies, dietrick@bbn.com
10 Moulton Street, Cambridge, MA 02138
617-873-3031 [fax]-2794
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[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 Fri Oct 11 13:49:44 2002

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:33 EDT