It is a bug. I don't know why that condition is there.
- Don
On Wednesday, November 27, 2002, at 05:19 AM, Bart Jourquin wrote:
> Hi all,
>
> Reading the docs, I thought that OMGraphicList.FindClosest(x, y,
> limit) returned the closest graphic from a given point. A closer look
> into the sources shows that the actual distance is computed in
> BasicGeometry.distanceToEdge. There, one starts with the following
> test :
>
> if (shape.contains(x,y)) ....
>
> In other words, a valid distance is only returned when (x,y) are on an
> existant object, and not when (x,y) are within a given limit distance.
>
> Is this a bug or did I misunderstood the functionality?
>
> --
> Prof Dr Bart Jourquin
> F.U.Ca.M. - G.T.M.
> Chaussée de Binche, 151a
> B7000 Belgium
> Tel. : +32 65 323293
> Fax. : +32 65 315691
> http://message.fucam.ac.be/~jourquin
>
>
> --
> [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 Wed Nov 27 08:59:39 2002
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:33 EDT