Hi Ed,
What version of OpenMap are you running? In the latest version
(4.5.4), the distance for OMLine is actually directed to the
OMGraphic.distance() method, which makes a decision if
BasicGeometry.distance() or BasicGeometry.distanceToEdge() should be
called. For OMLines, distanceToEdge is always called. I haven't seen
the problem you describe in my version.
- Don
On Tuesday, January 28, 2003, at 05:50 PM, Ed Pattison-Gordon wrote:
> My application displays multiple OMLines, which the user may mouse
> over to see information about the line displayed in the bottom of the
> window. The problem is that the bounding rectangle for these lines
> overlap, so that often the line the mouse is closest to is not the
> line for which information is being displayed. This is happening
> because, according to the documentation for distance (which is
> inherited from BasicGeometry), distance "checks to see of [sic] the
> point is contained within the OMGraphic, which may, or may not be the
> right thing for clear OMGraphics or lines." Clearly, in my case, this
> is the wrong thing to do. Has anyone run into this problem and solved
> it?
>
> -Ed Pattison-Gordon
>
> --
> [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 Tue Jan 28 18:09:01 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:34 EDT