Determining poly bounds

From: Jeremy Zacker <jeremy.zacker@lmco.com>
Date: Thu Dec 06 2001 - 14:46:57 EST

I have built a mouse mode that draw a rectangle on the screen when the
user
drags the mouse across the map (similar to NavMouseMode but without the
ratio check).

I am trying to determine if the user sweeps the mouse over the objects
displayed on
the map. For OMGraphics with a single plot point, tis was easy. But I
am
having trouble with OMPoly. I looked at DrawUtil.inside_polygon, but I
don't want to just
check the plot points of the OMPoly. I also want to check if any line
drawn between
plot points was captured during the sweep.

I am using the RENDERTYPE_LATLON, so I cannot grab the 'xs' and 'ys'
from the OMPoly.
Does anyone know of an API to do what I am asking? I can generate the
'xs' and 'ys' if I must,
but I'd prefer not to.

--
Jeremy "Slacker" Zacker  -  "BLAH!"
MCS Blk IV
(732) 450-7066
--
[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 Dec 6 14:48:27 2001

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