[OpenMap Users] OMLine.distance method has a flaw

From: Chinh Tang <ctang@teloptica.com>
Date: Mon Jan 27 2003 - 17:53:10 EST

Hi all,
I think I've found a bug in 4.5.4. The description below works for
previous versions.
My code uses a list of OMLine contained in the OMGraphicList.
I tried to use OMGraphicList.findClosest(int x, int y, float limit) on
these OMLine and got a null back. The problem is OMGraphic.distance(int
x, int y) always return INFINITY for OMLine. I think this method should
be overridden.

Can anyone confirm this bug?

-Chinh

--
[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 Mon Jan 27 17:55:10 2003

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